3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date('Y-m-d', 1399669200000 /1000 )); var_dump(date('Y-m-d', 1399755600000 /1000 ));
Output for 4.3.0 - 7.1.0
string(10) "2014-05-09" string(10) "2014-05-10"