- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
- Parse error: syntax error, unexpected ')' in /in/gXpZC on line 5
Process exited with code 255.
<?php
$date = "12/31/2013";
echo (date("Y-m-d", strtotime($date))) . "\n";
$date = new DateTime($date));
echo $date->format('Y-m-d H:i:sP') . "\n";