Page 1 of 1

How to configure timezones and daylight savings hour

Posted: 03 Nov 2008, 15:28
by matkr265
I configured the clock on my B2 thru the web interface but it did not survive a reboot of the device, strange!

I proceded and ran

Code: Select all

dpkg-reconfigure tzdata
to set my timezone to Europe/Stockholm.

This worked but the sytstem now thinks that the time is +2h, 21:00 became 23:00.

Code: Select all

Your default time zone is set to 'Europe/Stockholm'.
Local time is now:      Mon Nov  3 23:12:12 CET 2008.
Universal Time is now:  Mon Nov  3 22:12:12 UTC 2008.
Is there a more proper way to set the timezone and time so that it follows daylight savings correctly?

Posted: 04 Nov 2008, 02:53
by Eek
use ntp

Code: Select all

apt-get install ntp
cheers
Eek

Posted: 12 Nov 2008, 15:09
by matkr265
Worked like a charm, thanks Eek!