offset-hours

This command specifies the offset in hours, relative to Coordinated Universal Time, of the time zone.

Syntax

offset-hours hours

Parameters

hours
Specifies the offset in hours, relative to Coordinated Universal Time, of the time zone. Enter a value in the range 0 - 12.

Guidelines

The offset-hours command specifies the offset in hours, relative to Coordinated Universal Time, of the time zone.

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