Skip to main content

Global context.DaylightTimeOffset

DaylightTimeOffset

Syntax

DaylightTimeOffset(<TimeZone>, <UniversalTime>)

Parameters

<TimeZone> (optional)

Type: . Time zone identifier. If Undefined, the time zone of the computer is used. The list of possible time zones can be obtained using GetAvailableTimeZones method. The GMT time zone identifiers may be set using following format: GMT{+/-}h[h][:mm] where hh=0:23, mm=0:59.

<UniversalTime> (optional)

Type: Date, Undefined. Universal time (UTC) for which you have to specify the offset or Undefined. Default value: Undefined.

Returned value

Type: Number.

Description

Obtains the offset in seconds of the specified time zone's daylight saving time relative to its standard time for the specified universal time. If the <UniversalTime> = Undefined, the daylight saving time offset used in the specified time zone is returned.

Availability

Server, thick client, external connection, mobile application (server), mobile standalone server.

Translation

Русская версия: Глобальный контекст.СмещениеЛетнегоВремени (Global context.DaylightTimeOffset)