Clock displays incorrect time

You can use the GUI in the time and date preferences to set your timezone and then be sure to run this command in the terminal:

sudo ntpdate ntp.ubuntu.com

This will ensure that your machine polls the ubuntu server to get the right time and date for your timezone.

To verify, type

date    

in the terminal.


First, ensure that you have the right time zone set. Open the app "Time and Date" and click the little Lock icon and input your password to unlock, at which point you can set your time zone.

Second, open a Terminal and input this command: sudo apt-get install ntp

Restart your computer and check the time by going to this website: time.is


Today I stayed an hour longer at work because the KDE clock widget showed the wrong time. The evening guard had a great laugh! :) Time and Date setting themselves are OK, auto adjust set and set to NTP pool. On the command line date is OK as well...

Turns out it's in the widget settings itself:

  • Rightclick on clock widget and select 'Digital Clock Settings'
  • Choose 'Time Zone': both UTC and your local timezone (Amsterdam in my case) should be selected... but here's the crunch:
  • Below 'Clock default to' was set to UTC; changed this to my timezone and applied.

Voila!

Tags:

Time

64 Bit

11.04