3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$date = new DateTime('1409781600'); //$date->setTimezone(new DateTimeZone('Europe/Minsk')); //echo $date->format('Y-m-d H:i:s'); echo date('Y-m-d H:i:s', 1409781600);
based on AJJbe
Output for 4.3.0 - 7.2.0
2014-09-04 00:00:00