CDF_PARSE_EPOCH16
Syntax | Return Value | Arguments | Keywords | Example | Version History | See Also
The CDF_PARSE_EPOCH16 function parses a properly-formatted input string into a double-complex value properly formatted for use as a CDF_EPOCH16 variable.
Note
CDF_EPOCH16 variables may be unparsed into a variety of formats using the CDF_ENCODE_EPOCH16 or CDF_EPOCH16 functions.
Syntax
Result = CDF_PARSE_EPOCH16(Epoch_string)
Return Value
Returns the double-precision complex value of the input string properly formatted for use as a CDF_EPOCH16 variable.
Arguments
Epoch_string
A formatted string that will be parsed into a double precision complex value suitable to be used as a CDF_EPOCH value. The format of the date string is:
where:
Keywords
None
Example
test_string = '04-Dec-2005 20:19:18.176.214.648.000' test_epoch = CDF_PARSE_EPOCH16(test_string) CDF_EPOCH16, test_epoch, year, month, day, hour, min, sec, $ milli, micro, nano, pico, /BREAKDOWN_EPOCH HELP, test_string, test_epoch PRINT, CDF_ENCODE_EPOCH16(test_epoch) PRINT, year, month, day, hour, min, sec, milli, micro, nano, pico
IDL Prints:
TEST_STRING STRING = '04-Dec-2005 20:19:18.176.214.648.000' TEST_EPOCH DCOMPLEX = ( 6.3300947e+10, 1.7621465e+11) 04-Dec-2005 20:19:18.176.214.648.000 2005 12 4 20 19 18 176 214 648 0
Version History
See Also
CDF_ENCODE_EPOCH16, CDF_EPOCH16