in reply to Re: Beware Date::Calc::Add_Delta_DHMS
in thread Good & Easy Date Module?

/me is enlightened.

I guess I shall have to go and code up my hypothesis. The only niggling thing is that I'm pretty sure the log files started from May last year, and I wrote the stuff in September. So I shouldn't have been bitten by that.

Mind you, shouldn't Date::Calc deal with that kind of fiddly stuff for me? That's why I'm not rolling my own in the first place, no?

  • Comment on Re: Re: Beware Date::Calc::Add_Delta_DHMS

Replies are listed 'Best First'.
Re: Re: Re: Beware Date::Calc::Add_Delta_DHMS
by merlyn (Sage) on Feb 21, 2001 at 23:36 UTC
    Well, there's a 25-hour day in there... maybe that broke it.

    And Date::Calc is doing what you told it. If you cross the funny-days, you get surprising results only if you're not aware of it.

    -- Randal L. Schwartz, Perl hacker