Share via


MaxValue Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Shared ReadOnly MaxValue As DateTime
public static readonly DateTime MaxValue
public:
static initonly DateTime MaxValue
static val MaxValue: DateTime
public static final var MaxValue : DateTime

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.

.NET Framework Security

See Also

Reference

DateTime Structure

System Namespace