| Contents | Index |
epoch = cdflib.computeEpoch(timeval)
epoch = cdflib.computeEpoch(timeval) converts the time value specified by timeval into a CDF_EPOCH value.
timeval |
7-by-1 time vector. The following table describes the time components.
|
epoch |
MATLAB double representing a CDF_EPOCH time value. |
Convert a time value into a CDF_EPOCH value.
timeval = [1999 12 31 23 59 59 0]; epoch = cdflib.computeEpoch(timeval);
This function corresponds to the CDF library C API routine computeEPOCH. To use these functions, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF Web site. For copyright information, see the cdfcopyright.txt file.
cdflib.computeEpoch16 | cdflib.epoch16Breakdown | cdflib.epochBreakdown
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |