How to Change Date and Time

You can change the date and time on linux machine using the date command.

Example: If you want to change the date to July 31, 11:16 pm then type as follows

date 07312316

If you want to change the year as well, you could type

“date 073123161998”

You can also use the following:

date -s “31 JULY 2009 23:16:00″

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.