Domas Mituzas wrote:
Depending on the month of the year, you may be +1 or +2 from the UTC... (it's the difference between CET & CEST)
Just professional curiosity, how would you define when daylight saving time is enabled/disabled? There're different rules for different countries. And some countries don't have it at all :-(
Presumably the same way the computer does it; provide a location such as 'Europe/Berlin' or 'America/Los_Angeles' and let the C library look in its big list of locales.
-- brion vibber (brion @ pobox.com)