← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #76320]: help can not set date time

 

Question #76320 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76320

    Status: Open => Answered

Josh Kupershmidt proposed the following answer:
dnairb,

Try setting the date from the command line if you have sudo privileges.
Steps:

  1. Open Applications -> Accessories -> Terminal
  2. In the terminal window which appears, type the following command: 
         sudo date --set="2009-07-10 15:30:42 -0500"
  3. You will see a prompt for your sudo password at this point. Enter it (i.e. probably your normal password for your Ubuntu username)

Your system time should now be set, assuming you were able to enter your
sudo password correctly. You should, of course, run the command in step
#2 with the correct date and time. You can permanently save the system
time you've entered to your computer's hardware clock using a command
like:

   sudo hwclock --systohc

Good luck.
Josh

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.