http://www.perlmonks.org?node_id=162753


in reply to Re: Re: Re: Date difference?
in thread Date difference?

I know it's explained in the docs, but it still seems counterintuitive.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Date difference?
by jlongino (Parson) on Apr 28, 2002 at 23:39 UTC
    Perhaps it will make more sense if you play with the code examples they give after explaining that they want functions Delta_DHMS() and Add_Delta_DHMS() to be complementary/mutually inverse.

    It seems intuitive to me, particularly if you were going to use the positive/negative results as arguments in a followup function call.

    --Jim