No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
clock datetime

clock datetime

Function

The clock datetime command sets the current date and time on the wireless access point.

Format

clock datetime HH:MM:SS YYYY-MM-DD

Parameters

Parameter Description Value
HH:MM:SS Specifies the current time on the wireless access point. 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 point. 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.

Views

User view

Default Level

3: Management level

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 point.

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.

Example

# Set the current time and date of the system to 0:0:0 2012-01-01.

<Huawei> clock datetime 0:0:0 2012-01-01
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202677

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next