RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.JulianDateToDateTime Function

Converts a Julian date to a TDateTime value.

Pascal
function JulianDateToDateTime(const AValue: Double): TDateTime;
C++
TDateTime JulianDateToDateTime(const Double AValue);

Call JulianDateToDateTime to convert a Julian date to the corresponding TDateTime value. 

The Julian date is the number of days, including fractional days, since 4713 BC January 1, Greenwich noon. Julian dates are used by astronomers and others who need an unambiguous dating system based on continuing day counts.

Note: If JulianDateToDateTime can't convert the date specified by AValue, it raises an EConvertError exception.
 

 

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