Wolfram Language

Units & Dates

Time Zone Formats

Work with different formats for time zone specifications: numeric values, strings, or entities.

Get your system time zone offset as a number of hours relative to Greenwich Mean Time.

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

This is your system "TimeZone" entity.

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

Get the current date and time for a specific named time zone.

In[3]:=
Click for copyable input
DateObject[TimeZone -> "Asia/Tokyo"]
Out[3]=

Get a list of example "TimeZone" entities.

In[4]:=
Click for copyable input
EntityValue["TimeZone", "SampleEntities"]
Out[4]=

Visualize the geographic region that observes Mountain Time in the United States.

In[5]:=
Click for copyable input
GeoGraphics[{Red, EdgeForm[Black], Polygon[Entity["TimeZone", "America/Denver"]]}, GeoRange -> Quantity[650, "Miles"]]
Out[5]=

Related Examples

de es fr ja ko pt-br ru zh