<Sysname> system-view
[Sysname] clock protocol ntp
clock summer-time
Use clock summer-time to configure the device to use daylight saving time during a specific period
of time.
Use undo clock summer-time to cancel the configuration.
Syntax
clock summer-time name start-time start-date end-time end-date add-time
undo clock summer-time
Default
Daylight saving time is disabled.
Views
System view
Pre-defined user roles
network-admin
mdc-admin
Parameters
name: Specifies a name for the daylight saving time schedule, a case-sensitive string of 1 to 32
characters.
start-time: Specifies the start time in the hh:mm:ss format. The hh value is in the range of 0 to 23, the
mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59. The leading zero in a
segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes
and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify
08:00:00, you can enter 8.
start-date: Specifies the start date in one of the following formats:
•
MM/DD. The MM value is in the range of 1 to 12, and the value range for DD depends on the
month value.
•
month week date, where:
month—Takes January, February, March, April, May, June, July, August, September,
October, November or December.
week—Represents week of the month. It takes first, second, third, fourth, fifth, or last.
day—Takes Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday.
end-time: Specifies the end time in the hh:mm:ss format. The hh value is in the range of 0 to 23, the
mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59. The leading zero in a
segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes
and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify
08:00:00, you can enter 8.
end-date: Specifies the end date in one of the following formats:
•
MM/DD. The MM value is in the range of 1 to 12, and the value range for DD depends on the
month value.
•
month week date, where:
month—Takes January, February, March, April, May, June, July, August, September,
October, November or December.
192