RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DateTimeToJulianDate Function

Converts a TDateTime value into a Julian date.

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

DateUtils

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

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!