Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
DateTimeZone.ZoneHours(dateTimeZone as nullable datetimezone) as nullable number
About
Returns the time zone hour component of a datetimezone value.
dateTimeZone: Adatetimezonevalue from which the time zone hour component is extracted. IfdateTimeZoneisnull, the function returnsnull.
Example 1
Get the time zone hours component of the specified datetimezone value.
Usage
DateTimeZone.ZoneHours(#datetimezone(2024, 4, 28, 13, 24, 22, 7, 30))
Output
7