MATLAB Function Reference | ![]() ![]() |
Construct a cdfepoch
object for Common Data Format (CDF) export
Syntax
Description
E = cdfepoch(date)
constructs a cdfepoch
object, where date
is a valid string (datestr
), a number (datenum
) representing a date, or a cdfepoch
object.
When writing data to a CDF using cdfwrite
, use cdfepoch
to convert MATLAB formatted dates to CDF formatted dates. The MATLAB cdfepoch
object simulates the CDFEPOCH
datatype in CDF files
Note
A CDF epoch is the number of milliseconds since 1-Jan-0000. MATLAB datenums are the number of days since 0-Jan-0000.
|
See also
cdfinfo
, cdfread
, cdfwrite
, datenum
![]() | cdf2rdf | cdfinfo | ![]() |