Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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
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