Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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