TimeZoneConvert

TimeZoneConvert[time,timezone]

converts the date or time object time to the specified time zone timezone.

TimeZoneConvert[time]

converts to the current $TimeZone value.

TimeZoneConvert[{time1,,timen},timezone]

converts time1 through timen to the specified timezone.

Details

Examples

open allclose all

Basic Examples  (2)

Convert a DateObject from one time zone to another:

Convert a TimeObject from GMT to Eastern Standard Time (North America):

Scope  (1)

Target time zone specifications can be an Entity, in addition to numeric offsets:

Properties & Relations  (1)

For dates with a time zone value of None, the original date will remain unchanged when converted:

The reverse is also true:

Possible Issues  (1)

Some Entity expressions do not have time zone information available:

Wolfram Research (2014), TimeZoneConvert, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeZoneConvert.html.

Text

Wolfram Research (2014), TimeZoneConvert, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeZoneConvert.html.

BibTeX

@misc{reference.wolfram_2021_timezoneconvert, author="Wolfram Research", title="{TimeZoneConvert}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/TimeZoneConvert.html}", note=[Accessed: 01-August-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_timezoneconvert, organization={Wolfram Research}, title={TimeZoneConvert}, year={2014}, url={https://reference.wolfram.com/language/ref/TimeZoneConvert.html}, note=[Accessed: 01-August-2021 ]}

CMS

Wolfram Language. 2014. "TimeZoneConvert." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeZoneConvert.html.

APA

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