System.Globalization.DateTimeFormatInfo.CurrentInfo Property

Gets a read-only System.Globalization.DateTimeFormatInfo object that formats values based on the current culture.

Syntax

public static DateTimeFormatInfo CurrentInfo { get; }

Value

A read-only System.Globalization.DateTimeFormatInfo instance based on the culture of the current thread.

Remarks

The System.Globalization.DateTimeFormatInfo object returned by the DateTimeFormatInfo.CurrentInfo property reflects user overrides.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0