FUNCTION REFERENCE
posixtime
Seconds since 1-Jan-1970 00:00:00.
Seconds since 1-Jan-1970 00:00:00.
Syntax
p = posixtime(t)The datetime fields are read as UTC whatever the TimeZone label. NaT gives
NaN.
Example
p = posixtime(datetime(1970, 1, 2)) % 86400Differences from MATLAB: None known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.