clock datetime
Function
The clock datetime command sets the current date and time on the wireless access controller.
Parameters
Parameter | Description | Value |
---|---|---|
HH:MM:SS | Specifies the current time on the wireless access controller. | HH specifies the hour, which is an integer ranging from 0 to 23. MM specifies the minute, which is an integer ranging from 0 to 59. SS specifies the second, which is an integer ranging from 0 to 59. |
YYYY-MM-DD | Specifies the current date (year, month, and day) on the wireless access controller. | YYYY specifies the year, which is an integer ranging from 2000 to 2030. MM specifies the month, which is an integer ranging from 1 to 12. DD specifies the day, which is an integer ranging from 1 to 31. |
Usage Guidelines
Usage Scenario
In the scenario where accurate absolute time is required, the current date and time must be set on the wireless access controller.
Prerequisite
The time zone and daylight saving time have been configured using the clock timezone and clock daylight-saving-time commands. If the time zone and daylight saving time are not configured, the clock datetime command sets a UTC time.
Precautions
The specified time must be in 24-hour format. If you do not specify MM and SS, their values are 0. You must enter at least one digit to specify HH. For example, when you enter 0, the time is 00:00:00.
The specified year must be a four-digit number and the specified month and day can be a one-digit number. For example, when you enter 2012-9-1, the time is 2012-09-01.
If the device is configured to restart at a specified time and if the system time is changed to be more than 10 minutes later than the specified restart time, the scheduled restart function will be disabled.
- This configuration is not reset after the reset factory-configuration command is executed.