in reply to epoch from time/date string?

Use Time::Local module.try out this code:
use Time::Local; $TIME = timelocal($sec, $min, $hours, $mday, $mon, $year);