I can't seem to get the terminal command 'date' working. Here is an example of the commands I gave in terminal:
$ date Wed Oct 7 17:17:38 EDT 2015 $ sudo date --set="20151007 18:17:00" Wed Oct 7 18:17:00 EDT 2015 $ date Wed Oct 7 17:18:11 EDT 2015
Is there something I need to change in the settings to be able to manually set the time? I've looking into disabling ntp but as far as I can tell it isn't something that needs to be disabled to be able to manually set time.
I've looked up all the possible formats of the date string, and none of them did the trick. Here are some of the ones I tried:
$ sudo date --set="2 OCT 2006 18:00:00" $ sudo date +%Y%m%d -s "20081128" $ sudo date 120622432007.55 $ sudo date --set="Sat Oct 10 10:10:10 EDT 2015"
I would appreciate any help. Thanks.