Set the clock from the Linux command line

By | July 12, 2009

If you want to set the date from the Linux command line, you can use the date command:

sudo date nnddhhmmyy

where
nn is the month
dd is the day
hh is the hour
mm is the minute
yy is the year

For example, date 080717292009 would set the date to August the 7th, 17:29, 2009.

Leave a Reply

Your email address will not be published. Required fields are marked *