How Linux Handles Summer Time

Daylight Saving Time is a controversial policy, but if you live in a region where it’s used, there’s not much you can do about it.

Linux adjusts the clock automatically, using zoneinfo. You can find out when these changes happened / are scheduled to happen using the zdump tool:

zdump -v Europe/Chisinau

The argument should be a path relative to /usr/share/zoneinfo/. A quick hint that you got it wrong is if you only get four entries (for the limits of time ;) ), 1901 and 2038 here, for instance.

P.S. If you have other operating systems on your machine, you should only allow one of them to change the time, otherwise you’ll get your clock shifted by more than one hour.

3 Responses to How Linux Handles Summer Time

  1. I thought it’s best to set the system time to UTC and then have your operating system(s) display the date in whatever timezone and DST you wish.

  2. Constantin says:

    AFAIK Windows can’t have the bios clock different from the software clock.

  3. Staten Island Acupuncture…

    […]How Linux Handles Summer Time « exit’s /dev/urandom blog[…]…

%d bloggers like this: