JUL_TO_DT

The JUL_TO_DT function converts the Julian Day Number to an IDLDT date/time structure.The result is an array of IDLDT date/time variables. JUL_TO_DT uses CALDAT and VAR_TO_DT.

Calling Sequence

Result = JUL_TO_DT( Julian )

Arguments

Julian

A scalar or array of Julian days.

Example

PRINT, JUL_TO_DT(JULDAY(6,23,1971)) ; Convert June 23, 1971 to the format defined by the IDLDT structure.

IDL prints:

{ 1971 6 23 0 0 0.00000 2441126.0 0}

See Also

IDLDT__DEFINE , JULDAY