ubuntu : change the date in terminal

Of course ubuntu has an easy way to change the date through the menu. But I find out there is another way to change it by terminal.

Here is the command:
#sudo date nnddhhmmyyyy.ss

nn = month
dd = day
hh = hour
mm = minute
yyyy = year
ss = second

Source : here

Leave a Reply

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