3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = '2014-09-21 12:33:00'; $di = strtotime($d); echo new DateTime(date('Y-m-d 0:0:0', $di));

preferences:
38.92 ms | 402 KiB | 5 Q