I need advice on the Daylight Savings facility in NB library
Posted: Wed Oct 19, 2011 7:40 am
Does anyone on the list know _exactly_ how the daylight savings works?
1.If I set the clock with NTP and then call effs_time::SetTimeZone(-5,true) I get the present time here.
2.If I set the clock with NTP and then call effs_time::SetTimeZone(-5,false) I *still* get the present time here.
When does DST get referenced,applied?
Does DST actually work?
Is there code in the libraries that calculates the 2nd week in March:Sunday AM, the 1st week in November:Sunday AM and applies the summer +1hr if applicable?
Thanks in advance,
Chris
1.If I set the clock with NTP and then call effs_time::SetTimeZone(-5,true) I get the present time here.
2.If I set the clock with NTP and then call effs_time::SetTimeZone(-5,false) I *still* get the present time here.
When does DST get referenced,applied?
Does DST actually work?
Is there code in the libraries that calculates the 2nd week in March:Sunday AM, the 1st week in November:Sunday AM and applies the summer +1hr if applicable?
Thanks in advance,
Chris