1 2 3 4 5 6
<?php $to_mysql_date = date('Y-m-d h:i:s', strtotime('30/01/2011, 4:57 pm')); var_dump($to_mysql_date);
1
string(19) "1970-01-01 12:00:00"