How can I get a unix timestamp from a german date-time combination? Input format is "d.m.Y H:i:s", strtotime doesn't seem to get through.
Printable View
How can I get a unix timestamp from a german date-time combination? Input format is "d.m.Y H:i:s", strtotime doesn't seem to get through.
For those who were interested:
PHP Code:list( $d, $m, $Y, $H, $i, $s ) = split( '[. :]', $datum );
$result = mktime( "$H", "$i", "$s", "$m", "$d", "$Y" );