JDtoDateTime


The JDtoDateTime function splits a Julian Date into year, month, day, hours, minutes, and seconds.

Syntax

sDate, sTime = JDtoDateTime( nJD )

bullet.gif    nJD is a Julian Date (e.g., 2454213.594103).

bullet.gif    sDate, sTime are the string components of the Julian Date (e.g., "2007-04-23" and "02:15:30.500").

Remarks

To split the Julian Date into the 6 date and time components, use ParseJD. To calculate the Julian Date from date and time strings, use CalcJD.

Related Topics

FormatYmdStr, CalcJD, ParseJD, DateToYmd


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.