Tag Archives: format date

Recommended Format-date

Linux Time – How to Set the Time and Date using Command Date!

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/

Click Here to Read Full Article

Leave a comment