Daylight savings time changeover

Discussion to talk about software related topics only.
Post Reply
bggnet
Posts: 2
Joined: Mon Jan 23, 2012 8:22 am

Daylight savings time changeover

Post by bggnet »

In testing some changes to handle the DST changeover, I find that spring is working, fall is not.
my code is simple:
if ( SetTimeNTPFromPool() )
{
tzsetchar("EST5EDT4");
}
else {...}

I even tried the full environment variable:
"EST5EDT4,M3.2.0/02:00:00,M11.1.0/02:00:00"
To test, I have a function that sets the time via TTY and I move the clock to Nov 3 23:55 2012, thinking maybe it needs to roll over to Nov 4. But at 2:00AM nothing happens. (I also have a retrieve time/data TTY command).

Any help appreciated,
Bruce
Post Reply