JDtoDateTime


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

Syntax

sDate, sTime = JDtoDateTime( nJD )

where

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

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

  

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