Site Fuse! programming, design, hosting, promotion and advertising tips for webmasters
Design    Programming    Hosting    Classifieds

How to set your server's date and time (system clock)


Important: The following is a text only archive!
For full features; Go to How to set your server's date and time (system clock)

posted by 2Guns To learn the current date and time of your server. Login through ssh or telnet to the server and type;

date
To set the system clock under Linux, use the date command. As an example, to set the current time and date to July 10, 11:16 PM, type;

date 07102316 (note that the time is given in 24 hour notation)
If you wanted to change the year as well, you could type;

date 071023162004
To set the seconds as well, type;

date 07312316.30 or date 073123162004.30