Clock Timezone - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

one-off: Sets the summer time for only one year (the specified year).
repeating: Sets the summer time for every year starting from the specified year.
start-time: Start time of the summer time, in the form of HH:MM:SS.
start-date: Start date of the summer time, in the form of YYYY/MM/DD or MM/DD/YYYY.
end-time: End time of the summer time, in the form of HH:MM:SS.
end-date: end date of the summer time, in the form of YYYY/MM/DD or MM/DD/YYYY.
offset-time: Offset of the summer time relative to the standard time, in the form of HH:MM:SS.
Description
Use the clock summer-time command to set the name, time range and time offset of the summer time.
After the setting, you can use the display clock command to check the results.
Example
# Set the summer time named abc1, which starts from 06:00:00 2005/08/01, ends until 06:00:00
2005/09/01, and is one hour ahead of the standard time.
<Sysname> clock summer-time abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
<Sysname> display clock
00:02:36 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005
# Set the summer time named abc2, which starts from 06:00:00 08/01, ends until 06:00:00 09/01, and is
one hour ahead of the standard time every year from 2005 on.
<Sysname> clock summer-time abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
<Sysname> display clock
00:01:25 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00

clock timezone

Syntax
clock timezone zone-name { add | minus } HH:MM:SS
undo clock timezone
View
User view
Parameter
zone-name: Name of the time zone, in length of 1 to 32 characters.
add: Specifies to add a time value based on the universal time coordinated (UTC) time to generate a
later time.
minus: Specifies to subtract a time value based on the UTC time to generate an earlier time.
HH:MM:SS: Time to be added or subtracted from the UTC time, in the form of HH:MM:SS.
Description
Use the clock timezone command to set the local time zone.
Use the undo clock timezone command to restore the local time zone to the default UTC time zone.
1-2
01:00:00

Advertisement

Table of Contents
loading

Table of Contents