This is how to set the clock and date on a Cisco switch using the clock command in privileged exec mode.
Router#clock set 11:10:45 24 Feb 2016
Check the date using this command.
mrrobot#show clock 11:14:34.844 UTC Wed Feb 24 2016
Show the history of entered commands in a session with this command.
mrrobot#show history en sh run conf t show access-lists show arp show history