I just noticed that my web server’s time was ahead by 10 hours for some reasons. If you run linux dedicated servers, you will want to know how to do this. I know there’s many ways to do it but this is the simplest/fastest method.
Here’s a really simple way to set time and date on any linux/unix system:
date – Would list the date and time of the server. Below is an example of the output.
Thu Feb 8 16:47:32 MST 2001
date -s “11/20/2003 12:48:00” – Set the date to the date and time shown.
date ‘+DATE: %m/%d/%y%nTIME:%H:%M:%S’ – Would list the time and date in the below format:
DATE: 02/08/01
TIME:16:44:55

Other interesting stuff at Zedomax.com: format date, Linux, ntime, servers, time and date, unix, unix system, web-server