It's always been an issue for me setting the date and time on our linux servers but now it's quite easy as it's only difficult if you do not know the syntax. Here the easy way to set the date and time of your linux box / server.
If you want to set the date to 14 September 2009 8:25am then use the following:
date -s "14 SEP 2009 08:25:00"
Note that the time is received in 24h format.
By PHPin24 @ 2009-09-14 08:25:19
|