Cisco Router Display Current Date and Time

You can execute the following command to see the date and time on a Cisco router (this is a Unix-like date command on a Cisco device).

Task: Display the system clock

Use the show clock command in EXEC mode, enter:
show clock
show clock detail
The last example will show the clock source (such as NTP) and the current summer time setting etc.

Task: Set the system clock

To set the time use the following 24 hour time format:
clock set 20:30:13 July 2009
The syntax is as follows:

clock set hh:mm:ss day month year


clock set hh:mm:ss month day year