<?
$date = "08.09.2004 09:29";
function convert_to_timestamp($date){
$date = trim($date);
$parts = explode(" ", $date);
list($day, $month, $year) = explode(".", $parts[0]);
list($hours, $min) = explode(":", $parts[1]);
$rt = mktime($hours, $min, false, $month, $day, $year);
return $rt;
}
echo convert_to_timestamp($date);
?>