PHP: Deutsches Datumsformat in UNIX-Timestamp konvertieren
// convert date
preg_match('/^([0-9]{2})\.([0-9]{2})\.([0-9]+) ([0-9]{2}):([0-9]{2})$/’, $timedate, $matches);
$timestamp = mktime($matches[4], $matches[5], 0, $matches[2], $matches[1], $matches[3]);
Quick’n'Dirty. Tut aber.


