[Overview][Constants][Procedures and functions][Index] Reference for unit 'DateUtils' (#rtl)

TryJulianDateToDateTime

Convert a Julian date representation to a TDateTime value.

Declaration

Source position: dateutil.inc line 415

function TryJulianDateToDateTime(

  const AValue: Double;

  out ADateTime: TDateTime

):Boolean;

Arguments

AValue

  

Date in Julian notation

ADateTime

  

Resulting TDateTime equivalent

Function result

True if the conversion was successful, False if not.

Description

Try to convert a Julian date to a regular TDateTime date/time representation.

See also

DateTimeToJulianDate

  

Converts a TDateTime value to a Julian date representation

JulianDateToDateTime

  

Convert a Julian date representation to a TDateTime value.

DateTimeToModifiedJulianDate

  

Convert a TDateTime value to a modified Julian date representation

TryModifiedJulianDateToDateTime

  

Convert a modified Julian date representation to a TDateTime value.


Documentation generated on: May 14 2021