3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d\TH:i:s', strtotime('+-1 MINUTE'));
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5, 5.2.2 - 5.3.25, 5.3.27 - 7.1.0
2012-06-11T11:15:39
Output for 5.3.26
2012-06-11T11:15:38
Output for 5.1.0 - 5.2.1
1970-01-01T01:00:00
Output for 5.0.0 - 5.0.2
2012-06-10T23:59:00