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


in reply to Perl and Compatibility w/SQL dates

u might want to check out Date::Calc.