in reply to Comparing dates in Perl
Don't know if it's the "best" way, but I personally would use Date::Calc's Delta_Days function.