@GetCurrentTimeZone (Formula Language)

Returns the current operating system's time zone settings in canonical time zone format.

Note: This function is new with Release 6.

Syntax

@GetCurrentTimeZone

Return value

fieldValue

Canonical time zone representing the time zone settings of the operating system.

Usage

Use with the @TimeZoneToText function to translate the time zone value returned into a readable time zone value.

Examples

  1. This code, when added as the default value for a field, returns Z=5$DO=1$DL=4 1 1 10 - 1$ZX=10$ZN=Eastern if the current operating system's time zone setting is GMT-05:00 Eastern Time.
    @GetCurrentTimeZone
  2. This code, when added as the default value for a field, returns (GMT-5:00) Eastern Time (US & Canada).
    @TimeZoneToText(@GetCurrentTimeZone)