Share via


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)

Syntax

public static readonly DateTime MaxValue

Remarks

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, and 4.1.

See Also

Reference

DateTime Structure
DateTime Members
System Namespace