When I go to change the date and time it doesn't work. I try to unlock but it just won't unlock. If there is any way to make it work please help.
I know it isn't very descriptive but I really would appreciate some answers.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
-s, --set=STRING set time described by STRING
To change date, use the command in terminal,
sudo date --set=STRING
For example, to change date to 25 Sep 2013 15:00, the command would be,
sudo date --set "25 Sep 2013 15:00:00"
If you want to change the time zone only, refer to this:
$ timedatectl list-timezones
$ sudo timedatectl set-timezone Europe/Berlin.
I had similar issue on my install and the above command gave this error:
date: the argument '19 Sep 2014 20:11:00' lacks a leading '+'; when using an option to specify date(s), any non-option argument must be a format string beginning with '+' Try 'date --help'
Help shows -
Usage: date [option]... [+FORMAT] - (etc)
Added the required plus as indicated to render
+19 Sep 2014 20:11:00 which worked.