3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'Current Time:'.date('YmdHis',strtotime('now')); echo '<br/>'.date('YmdHis',strtotime('-8 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-4 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-2 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-1 hour',strtotime('now'))) ; ?>
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
Current Time:20170703151450<br/>20170703071450<br/>20170703111450<br/>20170703131450<br/>20170703141450