<?php
var_dump (
date(DATE_RFC3339, strtotime('today')),
date(DATE_RFC3339, strtotime('tomorrow')),
date(DATE_RFC3339, strtotime('today at last minute')),
date(DATE_RFC3339, strtotime('tomorrow at last minute'))
);
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 4
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 5
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 6
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 7
string(21) "TueAMCESTE_RJuneC3339"
string(21) "WedAMCESTE_RJuneC3339"
string(23) "ThuAMCETE_RJanuaryC3339"
string(23) "ThuAMCETE_RJanuaryC3339"
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 4
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 5
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 6
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 7
string(21) "TuePMCESTE_RJuneC3339"
string(21) "WedPMCESTE_RJuneC3339"
string(21) "TuePMCESTE_RJuneC3339"
string(21) "WedPMCESTE_RJuneC3339"
Output for 5.0.0 - 5.0.2
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 4
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 5
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 6
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/a0mcn on line 7
string(21) "TueAMCESTE_RJuneC3339"
string(21) "WedAMCESTE_RJuneC3339"
string(21) "TueAMCESTE_RJuneC3339"
string(21) "WedAMCESTE_RJuneC3339"