Main Content
tzoffset
Time zone offset from UTC
Description
returns an array of durations equal to the time zone offset from UTC of each
datetime value in dt
= tzoffset(t
)t
. That is, dt
is the amount
of time that each datetime in t
differs from UTC. For datetimes
that occur during Daylight Saving Time (DST), dt
includes the
time shift for DST. The offset for unzoned datetime values is not defined.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2014b