There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

METHODS

epoch( $date, $tz )

Returns seconds since epoch of expression $date with timezone $tz