in reply to Difference between dates
UPDATE: I found it. This works:
Good. Just for reference, to convert '2014-04-15' to a UNIX timestamp:
use Date::Parse; $time = str2time('2014-04-15'); print scalar localtime $time,"\n"; __END__ Tue Apr 15 00:00:00 2014
|
|---|