Clock Summer-Time One-Off - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Examples
# Set the current system time to 14:10:20 08/01/2005.
<Sysname> clock datetime 14:10:20 8/1/2005
# Set the current system time to 00:06:00 01/01/2007.
<Sysname> clock datetime 0:6 2007/1/1

clock summer-time one-off

Syntax
clock summer-time zone-name one-off start-time start-date end-time end-date add-time
undo clock summer-time
View
System view
Default level
3: Manage level
Parameters
zone-name: Name of the daylight saving time, which is a case-sensitive string of 1 to 32 characters.
start-time: Start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.
start-date: Start date, in the MM/DD/YYYY or YYYY/MM/DD format.
end-time: End time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.
end-date: End date, in the MM/DD/YYYY or YYYY/MM/DD format.
add-time: Time added to the standard time of the device, in the hh:mm:ss format. Zeros can be omitted,
unless you specify 00:00:00.
Description
Use the clock summer-time one-off command to adopt daylight saving time from the start-time of the
start-date to the end-time of the end-date. Daylight saving time adds the add-time to the standard time of
the device.
Use the undo clock summer-time command to cancel the configuration of the daylight saving time.
By default, daylight saving time is configured on the device, and the universal time coordinated (UTC)
time zone is applied.
NOTE:
To view your configuration after it takes effect, use the display clock command. The time displayed in the
log or debug information is the adjusted local time.
The time range from
shorter than one year. Otherwise, the argument is considered as invalid and the configuration fails.
If the standard time of the device is in the time range specified with this command, the system time
automatically adds "add-time" after the execution of this command.
Related commands: display clock, clock datetime, clock summer-time repeating, and clock timezone.
start-time
start-date
in
to
122
end-time
end-date
in
must be longer than one day and

Advertisement

Table of Contents
loading

Table of Contents