DateTimeZone Functions

DateTimeZone.FixedUtcNow

Syntax DateTimeZone.FixedUtcNow() as datetimezone Description Returns the current date and time in UTC (the GMT …

#datetimezone

Syntax #datetimezone(year as number, month as number, day as number, hour as number, minute as …

DateTimeZone.SwitchZone

Syntax DateTimeZone.SwitchZone(dateTimeZone as nullable datetimezone, timezoneHours as number, optional timezoneMinutes as nullable number) as nullable …

DateTimeZone.LocalNow

Syntax DateTimeZone.LocalNow() as datetimezone Description Returns a datetimezone value set to the current date and …

DateTimeZone.ToUtc

Syntax DateTimeZone.ToUtc(dateTimeZone as nullable datetimezone) as nullable datetimezone Description Changes timezone information of the datetime …

DateTimeZone.RemoveZone

Syntax DateTimeZone.RemoveZone(dateTimeZone as nullable datetimezone) as nullable datetime Description Returns a #datetime value from dateTimeZone …

DateTimeZone.ToLocal

Syntax DateTimeZone.ToLocal(dateTimeZone as nullable datetimezone) as nullable datetimezone Description Changes timezone information of the datetimezone …

DateTimeZone.FromText

Syntax DateTimeZone.FromText(text as nullable text, optional culture as nullable text) as nullable datetimezone Description Creates …

DateTimeZone.ZoneHours

Syntax DateTimeZone.ZoneHours(dateTimeZone as nullable datetimezone) as nullable number Description Changes the timezone of the value. …

DateTimeZone.From

Syntax DateTimeZone.From(value as any, optional culture as nullable text) as nullable datetimezone Description Returns a …

DateTimeZone.UtcNow

Syntax DateTimeZone.UtcNow() as datetimezone Description Returns the current date and time in UTC (the GMT …

DateTimeZone.FixedLocalNow

Syntax DateTimeZone.FixedLocalNow() as datetimezone Description Returns a datetime value set to the current date and …

DateTimeZone.FromFileTime

Syntax DateTimeZone.FromFileTime(fileTime as nullable number) as nullable datetimezone Description Creates a datetimezone value from the …

DateTimeZone.ToText

Syntax DateTimeZone.ToText(dateTimeZone as nullable datetimezone, optional format as nullable text, optional culture as nullable text) …

DateTimeZone.ToRecord

Syntax DateTimeZone.ToRecord(dateTimeZone as datetimezone) as record Description Returns a record containing the parts of the …

DateTimeZone.ZoneMinutes

Syntax DateTimeZone.ZoneMinutes(dateTimeZone as nullable datetimezone) as nullable number Description Changes the timezone of the value. …