TimeZone

TimeZone

is an option for DateObject, DateString, and related functions that specifies the time zone to use for dates and times.

Details

  • TimeZone->z specifies that results should be returned for a time zone in which z hours must be added to Greenwich Mean Time (GMT) to obtain local time.
  • TimeZone->"zone" specifies that results should be returned using the appropriate offset for the time zone "zone" on the appropriate date.
  • The typical default setting is TimeZone:>$TimeZone.
  • US Eastern Standard Time (EST) corresponds to time zone -5.
  • For numeric values, daylight saving time corrections must be included in the time zone, so US Eastern Daylight Time (EDT) corresponds to time zone -4.
  • Example time zone strings include "America/Chicago", "Europe/London", "Asia/Tokyo", and "Zulu".
  • Settings for TimeZone should be an Integer, Real, or time zone String.
  • A list of available time zone entities can be found using EntityList["TimeZone"].
  • DateObject and TimeObject expressions support TimeZone->None.

Examples

open allclose all

Basic Examples  (1)

Scope  (3)

TimeZone values can be an Integer, Real, or time zone String:

Time zone strings will account for daylight saving time automatically:

EntityList["TimeZone"] can be used to find available "TimeZone" entities:

Neat Examples  (1)

Find the time zones in the United States:

Plot only the contiguous US:

Wolfram Research (1991), TimeZone, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeZone.html (updated 2019).

Text

Wolfram Research (1991), TimeZone, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeZone.html (updated 2019).

BibTeX

@misc{reference.wolfram_2020_timezone, author="Wolfram Research", title="{TimeZone}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/TimeZone.html}", note=[Accessed: 14-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_timezone, organization={Wolfram Research}, title={TimeZone}, year={2019}, url={https://reference.wolfram.com/language/ref/TimeZone.html}, note=[Accessed: 14-May-2021 ]}

CMS

Wolfram Language. 1991. "TimeZone." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/TimeZone.html.

APA

Wolfram Language. (1991). TimeZone. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeZone.html