3
Well, i wrote a function because i think theres no function which can do that:
function dateToTimestamp($date, $addSeconds) {
$tmparr = explode(" ", $date);
$datearr = explode(".", $tmparr[0]);
$timearr = explode(":", $tmparr[1]);
return mktime($timearr[0],$timearr[1],0,$datearr[1],$datearr[0], $datearr[2]) + $addSeconds;
}
use it if u need it