direction

This command specifies the direction, relative to Coordinated Universal Time, of the time zone.

Syntax

direction { East | West }

Parameters

East
The direction is east of Coordinated Universal Time. Asia is east.
West
The direction is west of Coordinated Universal Time. North America is west. This setting is the default value.

Guidelines

The direction command specifies the direction, relative to Coordinated Universal Time, of the time zone.

  • When West, the offset is added.
  • When East, the offset is subtracted.

A time zone that is in Coordinated Universal Time can have an offset of 0.

The command is required for custom time zones.

Example

Set an offset of 2 hours and 30 minutes east of Coordinated Universal Time.
# direction East
# offset-hours 2
# offset-minutes 30