SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
7
For related command, see
clock timezone
.
Example
Add one hour to the clock for the summer time z2 that starts at 06:00:00 on
2002/06/08 and ends at 06:00:00 on 2002/09/01.
<NEC-PHILIPS>
clock summer-time z2 absolute 06:00:00 2002/06/08
06:00:00 2002/09/01 01:00:00
# Add one hour to the clock each year starting from 2002 for the summer time
z2 that starts at 06:00:00 on 08/06 and ends at 06:00:00 on 01/09.
<NEC-PHILIPS>
clock summer-time z2 recurring 06:00:00 2002/06/08
06:00:00 2002/09/01 01:00:00
clock datetime
Syntax
clock datetime HH:MM:SS YYYY/MM/DD
View
User view
Parameter
HH:MM:SS
: Time (hour/minute/second).
YYYY/MM/DD
: Date (year/month/day) in the range of 1993 to 2035.
Description
Using the
clock datetime
command, you can set the time and date.
After the configuration takes effect, you can verify it by executing the
display
clock
command. The time applied to the log and debug information has been
adjusted.
Example
Set the current system time to 10:20:55 2003/04/05.
<NEC-PHILIPS>
clock datetime 10:20:55
2003/04/05
clock timezone
Syntax
zone_name { add | minus } HH:MM:SS undo clock timezone
View
User view
Parameter
zone_name
: Timezone name, which is a string of 1 to 32 characters.
add
: Adds the time on the basis of Universal Time Coordinated (UTC)
timezone.
minus
: Reduces the time on the basis of UTC timezone.
HH:MM:SS
: Time (hour/minute/second).
Description
Using the
clock timezone
command, you can set the information for the local
timezone. Using the
undo clock timezone
command, you can restore the local
timezone to the default UTC timezone.
After the configuration takes effect, you can view it by executing the
display
clock
command. The time applied to the log and debug information has been
adjusted according to the involved timezone and summer time.
For related command, see
clock summer-time
.
Example