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('last minute of tomorrow')) );
Output for 5.1.3 - 7.1.0
string(25) "1970-01-01T01:00:00+01:00" string(25) "1970-01-01T01:00:00+01:00"
Output for 4.3.0 - 5.1.2
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/CO77H on line 4 Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/CO77H on line 5 string(23) "ThuAMCETE_RJanuaryC3339" string(23) "ThuAMCETE_RJanuaryC3339"