configure time

configure time month day year hour min sec

Description

Configures the system date and time.

Syntax Description

month Specifies the month. The range is 1-12.
day Specifies the day of the month. The range is 1-31.
year Specifies the year in the YYYY format.The range is 2003 to 2036.
hour Specifies the hour of the day. The range is 0 (midnight) to 23 (11 pm).
min Specifies the minute. The range is 0-59.
sec Specifies the second. The range is 0-59.

Default

N/A.

Usage Guidelines

The format for the system date and time is as follows:

mm dd yyyy hh mm ss

The time uses a 24-hour clock format. You cannot set the year earlier than 2003 or past 2036. You have the choice of inputting the entire time/date string. If you provide one item at a time and press [Tab], the screen prompts you for the next item. Press [cr] to complete the input.

Example

The following command configures a system date of February 15, 2002 and a system time of 8:42 AM and 55 seconds:

configure time 02 15 2002 08 42 55

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.