in reply to Date Operations
However, in 2002, DST reverts on October 27th, so such a calculation would fail by coming up one hour short.
It is precisely due to such gotchas that the date modules come in handy. I've had good results with Date::Calc (fast but requires a C compiler), Date::Manip (slower, possibly more complete for esoteric dates, no C), and Time::Piece (C compiler).
Matt
|
|---|