3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = new DateTime('14 October, 2013'); $time = $datetime->format('U'); var_dump($time, date('Y-m-d H:i:s', $time));

preferences:
30.71 ms | 402 KiB | 5 Q