clock you can set the current time and date on a Cisco device.
clock set 20:08:56 Sept 21 2010
The generic syntax of the command is:
clock set hh:mm:ss MONTH <0-31> YYYY
hhis the hour,
mmare the minutes,
ssare the seconds,
MONTHis the month,
<0-31>is the date, an integer between 0 and 31, and
YYYYis the year.
Note that the month and date are also acceptable in the reverse order, for example:
clock set 20:08:56 21 Sept 2010