152
start-time
: Start time, in the
hh:mm:ss
format. Zeros can be omitted, unless you are specifying 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 are specifying 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, 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.
Use the
undo clock summer-time
command to cancel the daylight saving time setting.
By default, daylight saving time is disabled and the UTC time zone applies.
The interval between
start-time
start-date
and
end-time
end-date
must be longer than one day and shorter
than one year. If the current system time is in the specified daylight saving days, the
add-time
value
automatically adds to the system time.
To verify the setting, use the
display clock
command.
The timestamps in system messages are adjusted in reference to the time zone and daylight saving
schedule.
Related commands:
display clock
,
clock datetime
,
clock summer-time repeating
, and
clock timezone
.
Examples
# Set the system time ahead one hour for the period between 06:00:00 on 08/01/2011 and 06:00:00
on 09/01/2011.
<Sysname> system-view
[Sysname] clock summer-time abc1 one-off 6 08/01/2011 6 09/01/2011 1
clock summer-time repeating
Syntax
clock summer-time
zone-name
repeating
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
: Daylight saving time schedule name, a string of 1 to 32 characters.
start-time
: Start time, in the
hh:mm:ss
format. Zeros can be omitted, unless you are specifying 00:00:00.
start-date
: Start date, which can be set in the following ways:
•
Enter the year, month and date at one time, in the
MM/DD/YYYY
or
YYYY/MM/DD
format.
•
Enter the year, month and date one by one, separated by spaces. The year ranges from 2000 to
2035; the month can be
January
,
February
,
March
,
April
,
May
,
June
,
July
,
August
,
September
,
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...