Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

TimeZoneOffset

TimeZoneOffset[tz]
gives the numeric offset between the time zone tz and GMT on the current date.

TimeZoneOffset[loc]
gives the numeric offset between the time zone for the location loc and GMT.

TimeZoneOffset[tz,base]
gives the numeric offset between tz and the specified base time zone.

TimeZoneOffset[tz,base,date]
gives the numeric offset between tz and base on the specified date.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Find the numeric offset for a time zone on the current date:

In[1]:=
Click for copyable input
Out[1]=

Get the offset for the time zone corresponding to a location:

In[1]:=
Click for copyable input
Out[1]=

Location specifications can also be entities:

In[2]:=
Click for copyable input
Out[2]=

Compare the offset between Eastern Time (America) and London Time on different dates:

In[1]:=
Click for copyable input
Out[1]=

The offset between two time zones can vary depending on daylight saving time:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.3)