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


in reply to More Date Arithmetic/Manipulation: Question

Another option would be to use DateTime for working with and comparing two dates.