3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(DATE_ATOM, strtotime('+1 week 2 days 4 hours 2 seconds'));
Output for 5.1.3 - 7.1.0
2013-08-10T20:53:31+02:00
Output for 5.1.1 - 5.1.2
2013-08-10T20:53:31+0200
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.1.0
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/04aVf on line 4 SatPMCESTE_PMCEST+0200Aug
Output for 5.0.0 - 5.0.2
Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/04aVf on line 4 SatAMCESTE_AMCEST+0200Aug