in reply to Beware Date::Calc::Add_Delta_DHMS
in thread Good & Easy Date Module?
You were using a time between 12 midnight and 1am as your base time, and you crossed the spring daylight savings time boundary when a day had only 23 hours. Then you'll be off a day. If this is the case, your epoch +/- 86400*7 solution will also fail, and you've only been lucky not to hit the same case.
So the problem was not Date::Calc, but in a misunderstanding that there's not always 24 hours in a day.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Beware Date::Calc::Add_Delta_DHMS
by grinder (Bishop) on Feb 21, 2001 at 23:33 UTC | |
by merlyn (Sage) on Feb 21, 2001 at 23:36 UTC |