3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = DateTime::createFromFormat('U', 1477850451); print $dt->format('c'); var_dump($dt);
Output for 5.6.0 - 7.3.0beta1
2016-10-30T18:00:51+00:00object(DateTime)#1 (3) { ["date"]=> string(26) "2016-10-30 18:00:51.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" }