Windows Dev Center

DateTimeFormatInfo.InvariantInfo Property

Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant).

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

public static DateTimeFormatInfo InvariantInfo { get; }

Property Value

Type: System.Globalization.DateTimeFormatInfo
The default read-only DateTimeFormatInfo object that is culture-independent (invariant). It is identical to the DateTimeFormatInfo object returned by the CultureInfo.InvariantCulture.DateTimeFormat property.

This property does not change regardless of the current culture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft