Sets the local clock time and date.
Privileged EXEC mode
Valid date and time settings range from January 1, 1970 to December 31, 2035.
An active NTP server, if configured, automatically updates and overrides the local clock time.
The following example sets the time and date to 31 minutes past 4 pm in the afternoon on July 28, 2016, for the local device:
device# clock set 16:31:35 07-28-16