Time zone based on longitude
[zd,zltr,zone] = timezone(long)
[zd,zltr,zone] = timezone(long,units)
[zd,zltr,zone] = timezone(long) returns
an integer zone description,
zd, an alphabetical
zltr, and a character vector,
with the complete zone description and alphabetical zone indicator
corresponding to the input longitude
[zd,zltr,zone] = timezone(long,units) specifies the
angular units with a standard angle units. The default value is
'degrees'. Valid units are:
'degrees' — decimal degrees
Given that is it locally 1330 (1:30 p.m.) at a longitude of 75ºW, determine Coordinated Universal Time (UTC):
[zd,zltr,zone] = timezone(-75,'degrees')
zd = 5 zltr = 'R' zone = '+5 R'
UTC is 1330 plus five hours, or 1830 (6:30 p.m.).
Time is determined by the position of the sun relative to the prime meridian, the zero longitude line running through Greenwich, England. When this meridian lies directly below the sun, it is noon Coordinated Universal Time (UTC). For local times elsewhere, the Earth is divided into 15º longitude bands, each centered on a central meridian. When a central meridian lies directly below the sun, Local Mean Time (LMT) in that zone is noon. The zone description is an integer that when added to LMT gives UTC. For notational convenience, each zone is also given an alphabetical indicator. The indicator at Greenwich is Z, so UTC is sometimes called ZULU time.
Note that there are actually 25 time zones, because the zone centered on the International Date Line (180º E/W) is split into two: “+12 Y” and “-12 M.”
National and local governments set their own time zone boundaries
for political or geographic convenience. The
does not account for statutory deviations from the meridian-based