Windows apps
Collapse the table of content
Expand the table of content
Information
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
[C#]
public static DateTimeFormatInfo CurrentInfo {get;}
[C++]
public: __property static DateTimeFormatInfo* get_CurrentInfo();
[JScript]
public static function get CurrentInfo() : DateTimeFormatInfo;

Property Value

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

Requirements

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

Show:
© 2018 Microsoft