System.DateUtils.DateTimeToModifiedJulianDate
Delphi
function DateTimeToModifiedJulianDate(const AValue: TDateTime): Double;
C++
extern DELPHI_PACKAGE double __fastcall DateTimeToModifiedJulianDate(const System::TDateTime AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
Description
Converts a TDateTime value into a modified Julian date.
Call DateTimeToModifiedJulianDate to convert a TDateTime value into the corresponding modified Julian date.
The modified Julian date is the number of days, including fractional days, since Greenwich midnight on November 17, 1858. Modified Julian dates are based on Julian dates, but adjusted to use midnight rather than noon as a starting point and to use a more recent date as a starting point.
See Also