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

OR

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 14:08:50 Jul 22 2017

The syntax is as follows:

clock set hh:mm:ss day month year

or

clock set hh:mm:ss month day year