3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = date('Y-m-d H:i:s', strtotime("+1 hour")); echo $time."\n"; echo date('Y-m-d\TH:i:s\.000\Z');
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-11-23 03:56:47 2013-11-23T02:56:47.000Z
Output for 5.0.0 - 5.0.2
2013-11-23 01:00:00 2013-11-23T02:56:47.000Z