CurrentInfo Property

DateTimeFormatInfo.CurrentInfo Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Show:
© 2016 Microsoft