Show: Delphi C++
Display Preferences

System.DateUtils.JulianDateToDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function JulianDateToDateTime(const AValue: Double): TDateTime;

C++

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

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

Converts a Julian date to a TDateTime value.

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 cannot convert the date specified by AValue, it raises an EConvertError exception.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance