DateTimeZone Functions
Functions for date/time values with timezone information.
- DateTimeZone.FixedLocalNowReturns the current local date and time with UTC offset, fixed for the entire query evaluation.
- DateTimeZone.FixedUtcNowReturns the current UTC date and time as a datetimezone, fixed for the entire query evaluation.
- DateTimeZone.FromConverts a value to a datetimezone.
- DateTimeZone.FromFileTimeConverts a Windows file time to a datetimezone value in UTC.
- DateTimeZone.FromTextConverts a text representation to a datetimezone value.
- DateTimeZone.LocalNowReturns the current local date and time with UTC offset as a datetimezone value.
- DateTimeZone.RemoveZoneStrips the timezone information from a datetimezone value, returning a datetime.
- DateTimeZone.SwitchZoneAdjusts a datetimezone value to a different UTC offset while preserving the instant in time.
- DateTimeZone.ToLocalConverts a datetimezone value to the local timezone.
- DateTimeZone.ToRecordReturns a record with Year, Month, Day, Hour, Minute, Second, ZoneHours, and ZoneMinutes fields from a datetimezone value.
- DateTimeZone.ToTextConverts a datetimezone value to a text string.
- DateTimeZone.ToUtcConverts a datetimezone value to UTC.
- DateTimeZone.UtcNowReturns the current date and time in UTC.
- DateTimeZone.ZoneHoursReturns the hour component of the UTC offset for a datetimezone value.
- DateTimeZone.ZoneMinutesReturns the minutes component of the UTC offset for a datetimezone value.
- #datetimezoneCreates a datetimezone value from date, time, and UTC offset components.