Show: Delphi C++
Display Preferences

System.DateUtils.DateTimeToJulianDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DateTimeToJulianDate(const AValue: TDateTime): Double;

C++

extern DELPHI_PACKAGE double __fastcall DateTimeToJulianDate(const System::TDateTime AValue);

Contents

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 Julian date.

Call DateTimeToJulianDate to convert a TDateTime value into 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, geophysicists, and others who need an unambiguous dating system based on continuing day counts.

See Also


Code Examples

Personal tools
Translations