cdflib.computeEpoch16
Convert time value to CDF_EPOCH16
value
Syntax
epoch16 = cdflib.computeEpoch16(timeval)
Description
epoch16 = cdflib.computeEpoch16(timeval)
converts the time value specified by timeval
into
a CDF_EPOCH16
value.
Input Arguments
|
10-by-1 time vector. The following table describes the time components. To specify multiple time values, use additional columns.
|
Output Arguments
|
CDF Epoch16 time value. If the input argument |
Examples
Convert the time value into an CDF_EPOCH16
value:
timeval = [1999;12;31;23;59;59;50;100;500;999]; epoch16 = cdflib.computeEpoch16(timeval)
epoch16 = 1.0e+10 * 6.3114 5.0101
Tips
This function corresponds to the CDF library C API routine
computeEPOCH16
.To use this function, you must be familiar with the CDF C interface. You can access the CDF documentation at the CDF website.