Export (0) Print
Expand All

DateTime.MaxValue Field

Represents the largest possible value of DateTime. This field is read-only.

[Visual Basic]
Public Shared ReadOnly MaxValue As DateTime
[C#]
public static readonly DateTime MaxValue;
[C++]
public: static DateTime MaxValue;
[JScript]
public static var MaxValue : DateTime;

Remarks

The value of this constant is equivalent to 23:59:59.9999999, December 31, 9999, exactly one 100-nanosecond tick before 00:00:00, January 1, 10000.

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

DateTime Structure | DateTime Members | System Namespace

Show:
© 2014 Microsoft