in reply to Re: Time difference

I am fond of Date::Calc::Object (an extension to the above, of course) which defines an object that corresponds to a date-value ... so a particular date becomes "a self-contained thing" which you can then "ask questions of." Sometimes this turns out to be a very handy metaphor that can also result in fewer scalar variables floating around . . . a little cleaner code, maybe.