Xbasic
GetTimeZoneOffset Function
Syntax
Offset as N = GetTimeZoneOffset()
Arguments
- Offset
The difference between the time zone of the computer and Greenwich time in hours.
Description
The GetTimeZoneOffset() function returns difference between the time zone of the computer and Greenwich Mean Time in hours.
Returns the number of hours the current timezone is offset from GMT.
Example
? gettimezoneoffset() = -5
See Also