in reply to Perl and Compatibility w/SQL dates

u might want to check out Date::Calc.