3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump ( date(DATE_RFC3339, strtotime('last minute of today')), date(DATE_RFC3339, strtotime('tomorrow')) );
Output for 5.1.3 - 7.1.0
string(25) "1970-01-01T01:00:00+01:00" string(25) "2013-06-26T00:00:00+02:00"
Output for 5.0.0 - 5.0.2, 5.1.0 - 5.1.2
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/2Y2ZH on line 4 Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/2Y2ZH on line 5 string(23) "ThuAMCETE_RJanuaryC3339" string(21) "WedAMCESTE_RJuneC3339"
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/2Y2ZH on line 4 Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/2Y2ZH on line 5 string(23) "ThuAMCETE_RJanuaryC3339" string(21) "WedPMCESTE_RJuneC3339"