A suitable candidate in this case would be DateTime::Format::DateParse: "This module is a compatibility wrapper around Date::Parse."
So just use Date::Parse. The first two lines of a three line synopsis:
use Date::Parse; $time = str2time($date);
In reply to Re^2: date-time into seconds
by wfsp
in thread date-time into seconds
by Spooky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |