DateTime.MaxValue

Syntax

MaxValue: DateTime;

Description

The MaxValue property returns the maximum value of the DateTime type.

Example

Sub UserProc;
Var
    d: DateTime;
Begin
    d := DateTime.MaxValue;
End Sub UserProc;

After executing the example the "d" variable will store the maximum date value - 31.12.9999.

See also:

DateTime