$TimeZone

$TimeZone
gives the current time zone to assume for dates and times.

DetailsDetails

  • The time zone gives the number of hours that must be added to Greenwich Mean Time (GMT) to obtain local time.
  • US Eastern Standard Time (EST) corresponds to time zone .
  • Daylight saving time corrections must be included in the time zone, so US Eastern Daylight Time (EDT) corresponds to time zone .
  • $TimeZone=z resets the current time zone for purposes of functions like DateString, DateList, and AbsoluteTime.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Show the number of hours that must be added to GMT to obtain local time:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)
Translate this page: