Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  IDL Reference  >  I/O - CDF  >  CDF_EPOCH_TOJULDAYS

CDF_EPOCH_TOJULDAYS

CDF_EPOCH_TOJULDAYS

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


CDF 3.4.0

Introduced

See Also


CDF_EPOCH, CDF_EPOCH16, CDF_TT2000



© 2018 Harris Geospatial Solutions, Inc. |  Privacy Policy
My Account    |    Store    |    Contact Us