set time

Last Updated : Apr 05, 2018 |

Use set time to show and edit the current day, date, month, year and time kept by the system clock. The second field is set to zero when the time on the clock is altered.

Note:

When the system clock is upgraded from an earlier release, the daylight savings time rule on the set time screen defaults to 0 (no rule). When you change the daylight savings time rule, the system clock automatically adjusts during the next transition of the rule.

Syntax

set time

set time field descriptions

These are the fields on the set time input screen. The current time, or default time is displayed in the fields.

Field

Description

Day of the Week

Valid entries are Monday through Sunday.

Day of the Month

1–31 are valid entries. A check for leap year is also made.

Month

January through December.

Year

The year must be saved as translation data and passed to the kernel whenever kernel memory is corrupted (system reboot or cold I restart), or the data is changed.

Hour

0–23 are valid entries.

Minute

0–59 are valid entries.

Second

This field is reset automatically and cannot be altered.

Type

Daylight-savings — daylight savings time

Standard — standard time

Daylight Savings Rule

The daylight savings time rule number (0 to 15). Rule 0 is no daylight savings time, and rule 1 defaults to U.S. daylight savings time rule.