This documentation is archived and is not being maintained.

DateTimeFormatInfo.CurrentInfo Property

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

[Visual Basic]
Public Shared ReadOnly Property CurrentInfo As DateTimeFormatInfo
public static DateTimeFormatInfo CurrentInfo {get;}
public: __property static DateTimeFormatInfo* get_CurrentInfo();
public static function get CurrentInfo() : DateTimeFormatInfo;

Property Value

A read-only DateTimeFormatInfo based on the CultureInfo of the current thread.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DateTimeFormatInfo Class | DateTimeFormatInfo Members | System.Globalization Namespace | CultureInfo