DateTimeFormatInfo.CurrentInfo Property

May 11, 2014

Gets a read-only DateTimeFormatInfo object that represents the date and time formatting information for the current culture.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public static DateTimeFormatInfo CurrentInfo { get; }

Property Value

Type: System.Globalization.DateTimeFormatInfo
A read-only DateTimeFormatInfo object based on the CultureInfo object for the current thread. It is identical to retrieving the DateTimeFormatInfo object returned by the CultureInfo.CurrentCulture.DateTimeFormat property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft