Follow the below steps to Set the Date and Time in Linux from a Command Prompt :
1.You must login as root user to use date command.
2.Use the following syntax to set new date and time:
For example, set new date to 10 Apr 2014 12:00:00, type the following command as root user:
# date -s “10 APR 2014 12:00:00”
Thats it …
then use the below command to verify the Date and Time :