DateTime.MaxValue

Syntax

MaxValue: DateTime;

Description

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

Example

Sub Main;

Var

d: DateTime;

Begin

d := DateTime.MaxValue;

End Sub Main;

After executing the example the "d" variable stores the maximum date value (31.12.9999).

See also:

DateTime