3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $iTime = (time() - (5*60)); // 5 min $sCleanDate = date('Y-m-d H:i:s', $iTime); echo $sCleanDate;
based on eQqar
Output for 4.3.0 - 7.1.0
2014-09-25 12:48:19