Xbasic

TZ_OFFSET_TO_C Function

Syntax

Offset as C = tz_offset_to_c()

Returns

OffsetCharacter

The difference between the computer's time zone and Greenwich Mean Time in hours.

Description

The TZ_OFFSET_TO_C() function calls the GetTimeZoneOffset()function and formats the result as a character string.

Example

? tz_offset_to_c()
= "-0500"

See Also