in reply to date to epoch

See also Time::Local. Depending on the time zone of your original timestamp, you may need to use timelocal or timegm.

Many of the other date and time modules on CPAN can also help with this conversion.

--MidLifeXis