timelocal

$time = timelocal(sec, min, hours, mday, mon, year)