DateTime.MaxValue Field

Represents the largest possible value for a DateTime object. Note that this field is read-only.

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


public static readonly DateTime MaxValue


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

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also


DateTime Structure
DateTime Members
System Namespace