AdjustDate(
     date:date,
     string:tzinput,
     string:tzoutput
)
date

Arguments

date

The date to adjust.

tzinput

The timezone to adjust from.

tzoutput

The timezone to adjust to.

Return value

The adjusted date.

Description

Adjust a date from one timezone to another.

Timezones can be specified as a positive or negative number of minutes, relative to UTC. For example, a value of 60 represents GMT+1.

Timezones can also be referred to by their name in the system registry or IANA name. For example, "AUS Eastern Standard Time" or "Australia/Sydney". You can also specify "UTC" for UTC and "local" for the local timezone.%0

Examples:

date = "2026-01-01 00:00:00" as date;
Output("At midnight in New York on New Year's Day it will be " + AdjustDate(date, "America/New_York", "Australia/Brisbane") + " in Brisbane.");