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 all close all
Basic Examples (3)
Get the current time zone offset for Oslo as a Quantity: