|
Scientific Data Formats: Common Data Format |
|
The CDF_ENCODE_EPOCH16 function encodes a CDF_EPOCH16 value into the standard date and time character string.
Result = CDF_ENCODE_EPOCH16(Epoch16 [, EPOCH={0 | 1 | 2 | 3}] )
Returns the string representation of the given CDF_EPOCH16 value.
The double-precision CDF_EPOCH16 value to be encoded.
| Note The CDF_EPOCH16 value can be obtained by calling CDF_EPOCH16 with the COMPUTE keyword, or by calling CDF_PARSE_EPOCH16. |
Set this keyword equal to one of the following integer values, specifying the epoch mode to use for output of the epoch date string:
where:
test_string = '04-Dec-2005 20:19:18.176.214.648.000' test_epoch = CDF_PARSE_EPOCH16(test_string) PRINT, CDF_ENCODE_EPOCH16(test_epoch)
IDL Output
04-Dec-2005 20:19:18.176.214.648.000
CDF_EPOCH16, CDF_PARSE_EPOCH16
IDL Online Help (March 06, 2007)