in reply to Re: Date::Calc questionin thread Date::Calc question
Take a look at the module documentation, Delta_Days returns the difference in dates, if the $difference (in your example) is negative then date 2 occurred this number of days before date 1.
Update: Fixed typo.