System.SysUtils.MaxDateTime

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

MaxDateTime: TDateTime =  2958465.99999; { 12/31/9999 11:59:59.999 PM }

C++

extern DELPHI_PACKAGE System::TDateTime MaxDateTime;

Properties

Type Visibility Source Unit Parent
const
variable
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Specifies the highest supported TDateTime value.

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.

See Also