Reference Guide

Set time and date
OS10# clock set 18:30:10 2017-01-25
View system time and date
OS10# show clock
2017-01-25T18:30:17.92+00:00
System Time and Date Commands
clock set
Sets the system time.
Syntax
clock set time year-month-day
Parameters
time Enter time in the format hour:minute:second, where hour is 1 to 24; minute is 1
to 60; second is 1 to 60. For example, enter 5:15 PM as 17:15:00.
year-month-day Enter year-month-day in the format YYYY-MM-DD, where YYYY is a four-digit year,
such as 2016; MM is a month from 1 to 12; DD is a day from 1 to 31.
Default Not congured
Command Mode EXEC
Usage Information Use this command to reset the system time if the system clock is out of synch with the NTP time. The hardware-
based real-clock time (RTC) resets to the new time. The new system clock setting is applied immediately. It is not
necessary to commit the change.
Example
OS10# clock set 18:30:10 2017-01-25
Supported Releases 10.2.1E or later
show clock
Displays the current system clock settings.
Syntax
show clock
Parameters None
Default Not congured
Command Mode EXEC
Usage Information The universal time coordinated (UTC) value is the number of hours that your time zone is later than or earlier than
UTC/Greenwich mean time.
Example
OS10# show clock
2017-01-25T11:00:31.68-08:00
Supported Releases 10.2.1E or later
System management 355