DateTimeZone.ToRecord

Last updated 3 months ago

DateTimeZone.ToRecord

Returns a record containing the datetimezone value's parts.

function (dateTimeZone as datetimezone) as record

Description

Returns a record containing the parts of the given datetimezone value, dateTimeZone.

Category

DateTimeZone

Examples

Convert the #datetimezone(2011, 12, 31, 11, 56, 2, 8, 0) value into a record containing Date, Time, and Zone values.

DateTimeZone.ToRecord(#datetimezone(2011, 12, 31, 11, 56, 2, 8, 0))

[ Year = 2011, Month = 12, Day = 31, Hour = 11, Minute = 56, Second = 2, ZoneHours = 8, ZoneMinutes = 0 ]