You can use the command-line interface (CLI) to set the system time.
- Issue the showtimezone CLI command to display the current time-zone
settings for the system. The time zone and the associated time-zone ID are displayed.
- Issue the lstimezones CLI command to list the time zones that are
available on the system. A list of valid time-zone settings are displayed. Each time zone is
assigned an ID. The time zone and the associated ID are indicated in the list.
- Issue the following CLI command to set the time zone for the system.
settimezone -timezone time_zone_setting
where
031809142005time_zone_setting is the new time zone ID that you chose from
the list of time zones that are available on the system.
- Issue the following CLI command to set the time for the system:
setsystemtime -time 031809142005
where
031809142005 is the new time that you want to set for the system. You must
use the MMDDHHmmYYYY format to set the time for the system.