<!DOCTYPE html> <html> <body> <?php $d=strtotime("10:38pm April 15 2015"); echo "创建日期 " . date("Y-m-d h:i:sa", $d); ?> </body> </html>