3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i:s", 1470614400 - (1470614400 % (24*3600)));
Output for 5.6.0 - 7.2.8
2016-08-08 02:00:00