RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.MaxDateTime Constant

Specifies the highest supported TDateTime value.

Pascal
MaxDateTime: TDateTime = 2958465.99999;
C++
TDateTime MaxDateTime = 2958465.99999;

MaxDateTime is the most future date : 12/31/9999 23:59:59.999 that the TDateTime type supports. The actual shown value of 2958465.99999 reflects the fact that TDateTime is actually a floating point number, rather than a structured type. The mantissa holds the number of days relative to 12/30/1899 00:00:00.000, the exponent holds a fraction of a day. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!