Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

© 2018 Microsoft