gives the current time zone for the current geo location.
gives the current time zone for the geo location specified by loc.
gives the time zone for the geo location loc on the specified date.
gives the specified property of the time zone.
- The geo location loc can be specified by a GeoPosition object or by giving an appropriate Entity object.
- LocalTimeZone by default returns a time zone Entity.
- Possible properties include:
"Entity" time zone as an Entity object (default) "InternetName" conventional internet name (e.g. "America/Chicago") "LongName" long time zone name (e.g. "Central Standard Time") "NumericOffset" offset in hours as a number "Offset" offset as a Quantity object "ShortName" short time zone name (e.g. "CST")
Examplesopen allclose all
Basic Examples (3)
Get the current time zone offset for Oslo as a Quantity:
Wolfram Research (2014), LocalTimeZone, Wolfram Language function, https://reference.wolfram.com/language/ref/LocalTimeZone.html.
Wolfram Language. 2014. "LocalTimeZone." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LocalTimeZone.html.
Wolfram Language. (2014). LocalTimeZone. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LocalTimeZone.html