日付 HTTP::Date

use HTTP::Date;

$string = time2str($time);
$time = str2time($string);