in reply to (jeffa) Re: Date::Calc Module
in thread Date::Calc Module

Hi, No matter what I change $date1 to, it returns 'same day'!? - Neil

Replies are listed 'Best First'.
(jeffa) 3Re: Date::Calc Module
by jeffa (Bishop) on Dec 29, 2001 at 22:58 UTC
    If you change the day portion, you will not get 'same day'. However, if you change the year or the month without changing the day, you will. The reason is because i chose to compare the dates by the number of days - not the year and/or month.

    Like I said, this is just to get you going.

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    F--F--F--F--F--F--F--F--
    (the triplet paradiddle)