cdflib.computeEpoch
Convert time value to CDF_EPOCH value
Syntax
epoch = cdflib.computeEpoch(timeval)
Description
epoch = cdflib.computeEpoch(timeval) converts
the time value specified by timeval into a CDF_EPOCH value.
Input Arguments
| 7-by-1 time vector. The following table describes the time components.
|
Output Arguments
| MATLAB® |
Examples
Convert a time value into a CDF_EPOCH value.
timeval = [1999 12 31 23 59 59 0]; epoch = cdflib.computeEpoch(timeval)
epoch = 6.3114e+13
Tips
This function corresponds to the CDF library C API routine
computeEPOCH.To use this function, you must be familiar with the CDF C interface. You can access the CDF documentation at the CDF website.