| Name | <TimeTag.to_zone[<zone>]> |
| Returns | TimeTag |
| Description | Returns a copy of the TimeTag, converted to the specified time zone.
The hour (and when relevant: day/month/year) of this TimeTag will automatically be converted from the value for the original TimeTag's timezone to the new timezone. For some zones, the minute might also change. Zone input can be like 'UTC-5' or like 'America/New_York' You can find a list of named zones here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones using the "TZ database name" |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/TimeTag.java#L407 |