MATLAB Function Reference Previous page   Next Page
todatenum

Convert CDF epoch object to MATLAB datenum

Syntax

Description

n = todatenum(obj) converts the CDF epoch object ep_obj into a MATLAB serial date number. Note that a CDF epoch is the number of milliseconds since 01-Jan-0000 whereas a MATLAB datenum is the number of days since 00-Jan-0000.

Examples

Construct a CDF epoch object from a date string, and then convert the object back into a MATLAB date string:

See Also

cdfepoch, cdfinfo, cdfread, cdfwrite, datenum


Previous page  title toeplitz Next page

© 1994-2005 The MathWorks, Inc.