3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $stamp = "1407050129"; $stamp2 = strtotime(date('Y-m-d', $stamp) . 'midnight'); echo date('Y-m-d H:i:s', $stamp);
Output for 4.3.0 - 7.1.0
2014-08-03 09:15:29