CDF_ENCODE_EPOCH16
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The CDF_ENCODE_EPOCH16 function encodes a CDF_EPOCH16 value into the standard date and time character string.
Syntax
Result = CDF_ENCODE_EPOCH16(Epoch16 [, EPOCH={0 | 1 | 2 | 3}] )
Return Value
Returns the string representation of the given CDF_EPOCH16 value.
Arguments
Epoch16
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.
Keywords
EPOCH
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:
Examples
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
Version History
See Also
CDF_EPOCH16, CDF_PARSE_EPOCH16