5
clock datetime
Use
clock datetime
to set the system time.
Syntax
clock datetime
time date
Default
The system time is UTC time 00:00:00 01/01/2013.
Views
User view
Predefined user roles
network-admin
Parameters
time
: Specifies a time in the
hh:mm:ss
format. The value range for
hh
is 0 to 23. The value range for
mm
is 0 to 59. The value range for
ss
is 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.
date
: Specifies a date in the
MM/DD/YYYY
or
YYYY/MM/DD
format. The value range for
YYYY
is
2000 to 2035. The value range for
MM
is 1 to 12. The value range for
DD
varies by month.
Usage guidelines
CAUTION:
This command changes the system time, which affects the execution of system time-related
features (for example, scheduled tasks) and collaborative operations of the device with other
devices (for example, log reporting and statistics collection). Before executing this command, make
sure you fully understand its impact on your live network.
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
For the device to use the local system time, execute the
clock protocol none
command and
this command in turn. The specified system time takes effect immediately. Then, the device uses the
clock signals generated by its built-in crystal oscillator to maintain the system time.
A device power cycling operation restores the local system time to the default. After the device is
power cycled, you must execute this command again to set the local system time.
Examples
# Set the system time to 08:08:08 01/01/2015.
<Sysname> clock datetime 8:8:8 1/1/2015
# Set the system time to 08:10:00 01/01/2015.
<Sysname> clock datetime 8:10 2015/1/1
Related commands
clock protocol
clock summer-time
clock timezone
display clock
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...