matlab2POSIXt {oce} | R Documentation |
Convert matlab time to POSIX time
matlab2POSIXt(t, tz="UTC")
t |
a Matlab datenum time, defined by the following
sentence in the matlab documentation: “where
datenum('Jan-1-0000 00:00:00') returns the number 1”. |
tz |
the timezone. |
A POSIXct
time.
Dan Kelley
t <- 719529 # in matlab, datenum(1970, 1, 1, 0, 0, 0) print(matlab2POSIXt(t))