[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: daylight savings time



John Hasler wrote:
Marty Landman writes:
I've got NTP running...

NTP has nothing to do with DST.  The servers send UTC.  It is up to the
clients to deal with their time zones.

Only problem is that I am getting the time as an hour earlier than it
really is, since the new daylight savings time here in the US went into
effect over the weekend.

What Debian version are you running?  Is it up to date?  What is the output
of 'zdump -v America/New_York | grep 2007'?

Thanks John, this is a response in the best tradition of LDU: I did not know of this command :-(

America/New_York Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000 America/New_York Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400 America/New_York Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400 America/New_York Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000

and 'zdump -v America/Mexico_City | grep 2007' where I am:

America/Mexico_City Sun Apr 1 07:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 CST isdst=0 gmtoff=-21600 America/Mexico_City Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 America/Mexico_City Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 CDT isdst=1 gmtoff=-18000 America/Mexico_City Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 CST isdst=0 gmtoff=-21600

Bingo!

Hugo





Reply to: