The CDF_EPOCH_TOJULDAYS function converts CDF epoch values in CDF_EPOCH, CDF_EPOCH16 or CDF_TIME_TT2000 data type to Julian days. This function is similar to the IDL JULDAY function.
Examples
CDF_VARGET, id, "Epoch", epoch, REC_COUNT=1000,/ZVARIABLE
ret = CDF_EPOCH_TOJULDAYS (epoch)
ret2 = CDF_EPOCH_TOJULDAYS (epoch, /string)
Syntax
Result = CDF_EPOCH_TOJULDAYS(Epoch [, /STRING])
Arguments
Epoch
An epoch value returned from CDF_EPOCH /compute, CDF_EPOCH16, /compute, CDF_VARGET or CDF_VARGET1.
Keywords
STRING
Set this keyword to return the dates as a string in ISO 8601 format.
Version History
See Also
CDF_EPOCH, CDF_EPOCH16, CDF_TT2000