FORMULA LANGUAGE


@Zone
Example

Returns the time zone setting of the current computer or of a time-date value, and indicates if daylight-saving time is observed.

The time zone is represented as the number of hours that must be added to the time-date to convert it to Greenwich Mean Time.

Syntax

@Zone
@Zone(
timeDate )

Parameters

timeDate


Return value

zoneNumber.dstFlag

Usage

When used without a parameter, @Zone returns the zone and daylight-saving time setting of the current computer.

When used with the parameter currentTimeDate, @Zone returns the zone and daylight-saving time setting of currentTimeDate.

If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.

Time zones that are not full-hour increments from GMT

For time zones that are not a full hour increment from GMT, the return value is:

mmhh.dstFlag


For example, on a computer with a time zone setting eleven and a half hours west of GMT, with daylight-saving time disabled, @Zone returns: 3011

On a computer with a time zone setting ten and three-quarter hours west of GMT, with daylight-saving time enabled, @Zone returns: 4510.1

On a computer with a time zone setting nine and a half hours east of GMT, with daylight-saving time enabled, @Zone returns: -3009.1

Language cross-reference

TimeZone property of LotusScript NotesDateTime class

ZoneTime property of LotusScript NotesDateTime class

IsDST property of LotusScript NotesDateTime class

Time Zone property of LotusScript NotesInternational class

TimeZoneFmt property of LotusScript NotesViewColumn class

TimeZone property of Java DateTime class

ZoneTime property of Java DateTime class

IsDST property of Java DateTime class

Time Zone property of Java International class

TimeZoneFmt property of Java ViewColumn class

Example
See Also