System.SysUtils.MinDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

MinDateTime: TDateTime = -657434.0;      { 01/01/0100 12:00:00.000 AM }

C++

extern DELPHI_PACKAGE System::TDateTime MinDateTime;

Properties

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

Description

Specifies the earliest supported TDateTime value.

MinDateTime is the most historic date: 01/01/0100 00:00:00.000 that the TDateTime type supports. The actual shown value of -657434.0 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.

Note:  The fractional part of TDateTime is always treated in a positive sense. It always means the elapsed part of a day; if TDateTime value is negative, this refers only to a negative offset of the integral day value from 12/30/1899.

See Also