Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What is the command to update time and date from Internet. Is there any application that allows me to do so graphically?

share|improve this question
Can you identify which Ubuntu version you are using? –  david6 Nov 21 '11 at 22:04
Do you need extremely accurate time? (If so, you need to familiarize yourself with ntpq and choose time servers). If you just want your time to be (approx.) correct, then try: System Settings >> Time & Date, and check that 'Set the time' is set to 'Automatically from the Internet'. –  david6 Nov 21 '11 at 23:26
If you want constantly extremely accurate, install ntpd. This is a small process that runs in the background and adjusts time constantly instead of bursts/jumps, but it will take up a bit of your resources. –  strugee May 24 '13 at 4:08
add comment

4 Answers

up vote 12 down vote accepted

You can do so with sudo ntpdate time.nist.gov other servers include time.windows.com, etc.

http://www.pool.ntp.org/ lists time servers around the world.

share|improve this answer
add comment

It's very easy to set up from command line: https://help.ubuntu.com/11.10/serverguide/C/NTP.html From that link:

Ubuntu comes with ntpdate as standard, and will run it once at boot time to set up your time according to Ubuntu's NTP server: ntpdate -s ntp.ubuntu.com

Here's GUI example https://help.ubuntu.com/community/UbuntuTime#Time_Synchronization_using_NTP

share|improve this answer
Please do not use links to other sites. When they disappear so does the information you posted. Prevent 'link rot' from happening by answering with the content of the link (and give credit where credit is due). –  Rinzwind Nov 21 '11 at 13:46
add comment

You need to install the ntp package. Date/Time settings are availble under system settings. Here's some more information.

share|improve this answer
add comment

sudo dpkg-reconfigure tzdata in terminal should do the trick

You can add extra time zones graphically, i think, by clicking on the clock and going through its options

share|improve this answer
Timezones are not really the same as (accurate) time. But, it also not very clear what Vikramjeet was asking either. –  david6 Nov 21 '11 at 22:05
What is the command to update time and date from Internet is the question, sudo dpkg-reconfigure tzdata is the answer, so what gives? the comment about the timezones, is related to the only thing i know to be possible graphically –  Jayo Nov 21 '11 at 22:24
I assumed that by graphically they meant a graphical (or 'GUI') method, and NOT geographic (or worldwide). –  david6 Nov 21 '11 at 22:55
so did i, i am not aware of a way to update the date and time via the net graphically, so i use the terminal, what i do know how to do graphically is set up time zones, the part about time zones was my two cents on what can be done to affect the time in a graphical manner, as far as i knew, am i understood now? –  Jayo Nov 21 '11 at 23:19
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.