/php-src/ext/date/tests/ |
H A D | bug26320.phpt | 2 Bug #26320 (strtotime handling of XML Schema/ISO 8601 format) 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42")); 14 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42Z"));
|
H A D | bug26694.phpt | 2 Bug #26694 (strtotime() request for "Sun, 21 Dec 2003 20:38:33 +0000 GMT") 7 echo gmdate("Y-m-d H:i:s", strtotime("Sun, 21 Dec 2003 20:38:33 +0000 GMT"));
|
H A D | bug27780.phpt | 2 Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 31 $time = strtotime($timestring);
|
H A D | bug28024.phpt | 2 Bug #28024 (Changed behavior of strtotime()) 7 echo strtotime("17:00 2004-01-01"), "\n"; 8 echo date("Y-m-d H:i:s T", strtotime("17:00 2004-01-01"));
|
H A D | bug28088.phpt | 2 Bug #28088 (strtotime() cannot convert 00 hours") 8 echo gmdate("m/d/y Hi", strtotime("04/04/04 2345")), "\n"; 11 echo gmdate("m/d/y Hi", strtotime("04/04/04 0045"))."\r\n";
|
H A D | bug28599.phpt | 2 Bug #28599 (strtotime fails with zero base time) 6 print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
|
H A D | bug29150.phpt | 7 echo gmdate("Y-m-d H:i:s", strtotime("20 VI. 2005"));
|
H A D | bug29585.phpt | 2 Bug #29585 (Support week numbers in strtotime()) 6 echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
|
H A D | bug29595.phpt | 8 echo strtotime($from_postgres);
|
H A D | bug30532.phpt | 2 Bug #30532 (strtotime - crossing daylight savings time) 8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n"; 9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n"; 10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n"; 14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n"; 15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n"; 16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
|
H A D | bug32086.phpt | 2 Bug #32086 (strtotime don't work in DST) 8 echo $g = strtotime("2004-11-01"), "\n"; 9 echo $i = strtotime("2004-11-01 +1 day"), "\n"; 10 echo $j = strtotime("+1 day", $g), "\n"; 11 echo $k = strtotime("2004-11-02"), "\n"; 12 echo $l = strtotime("2004-11-03"), "\n"; 19 echo $g = strtotime("2005-02-19"), "\n"; 20 echo $i = strtotime("2005-02-19 +1 day"), "\n"; 21 echo $j = strtotime("+1 day", $g), "\n"; 22 echo $k = strtotime("2005-02-20"), "\n"; [all …]
|
H A D | bug32270.phpt | 2 Bug #32270 (strtotime/date behavior) 10 echo strtotime("Jan 1 1902")."\n"; 14 echo strtotime("Jan 1 1950")."\n"; 18 echo strtotime("Jan 1 2000")."\n";
|
H A D | bug32555.phpt | 2 Bug #32555 (strtotime("tomorrow") can return false) 8 print date('r', strtotime('now',$stamp)) ."\n"; 9 print date('r', strtotime('tomorrow',$stamp)) ."\n"; 10 print date('r', strtotime('+1 day',$stamp)) ."\n"; 11 print date('r', strtotime('+2 day',$stamp)) ."\n";
|
H A D | bug32588.phpt | 2 Bug #32588 (strtotime() error for 'last xxx' DST problem) 8 echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n"; 9 echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n"; 10 echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
|
H A D | bug33056.phpt | 2 Bug #33056 (strtotime() does not parse 20050518t090000Z) 6 echo strtotime('20050518t090000Z')."\n"; 7 echo strtotime('20050518t091234Z')."\n"; 8 echo strtotime('20050518t191234Z')."\n";
|
H A D | bug33414-1.phpt | 11 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 19 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 27 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 35 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 44 $strtotime_tstamp = strtotime("next Thursday", $tStamp); 52 $strtotime_tstamp = strtotime("second Monday", $tStamp); 60 $strtotime_tstamp = strtotime("next Friday", $tStamp); 92 $strtotime_tstamp = strtotime("next Friday", $tStamp); 116 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 148 $strtotime_tstamp = strtotime("next Monday", $tStamp); [all …]
|
H A D | bug33414-2.phpt | 9 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 17 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 25 $strtotime_tstamp = strtotime("next Monday", $tStamp); 33 $strtotime_tstamp = strtotime("next Monday", $tStamp); 41 $strtotime_tstamp = strtotime("next Monday", $tStamp); 49 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 57 $strtotime_tstamp = strtotime("next Wednesday", $tStamp); 65 $strtotime_tstamp = strtotime("next Saturday", $tStamp); 73 $strtotime_tstamp = strtotime("next Friday", $tStamp);
|
H A D | bug33415-1.phpt | 11 $strtotime_tstamp = strtotime("next Monday", $tStamp); 19 $strtotime_tstamp = strtotime("next Sunday", $tStamp);
|
H A D | bug33415-2.phpt | 11 $strtotime_tstamp = strtotime("next Wednesday", $tStamp); 19 $strtotime_tstamp = strtotime("next Thursday", $tStamp); 28 $strtotime_tstamp = strtotime("next Thursday", $tStamp); 37 $strtotime_tstamp = strtotime("next Saturday", $tStamp); 45 $strtotime_tstamp = strtotime("next Thursday", $tStamp); 54 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 62 $strtotime_tstamp = strtotime("next Sunday", $tStamp); 71 $strtotime_tstamp = strtotime("next Tuesday", $tStamp); 80 $strtotime_tstamp = strtotime("next Monday", $tStamp); 88 $strtotime_tstamp = strtotime("next Sunday", $tStamp); [all …]
|
H A D | bug33452.phpt | 6 echo date('Y-W', strtotime('2005-1-1')), "\n"; 7 echo date('o-W', strtotime('2005-1-1')), "\n";
|
H A D | bug33532.phpt | 20 $tStamp = strtotime($input); 29 $tStamp = strtotime($input);
|
H A D | bug33536.phpt | 2 Bug #33456 (strtotime defaults to now even on non time string) 6 var_dump(strtotime("monkey")); 7 print date("Y-m-d", strtotime("monkey")) ."\n";
|
H A D | bug33563.phpt | 2 Bug #33563 (strtotime('+1 month',$abc) cant get right time) 6 $strCurrDate = date('Y-m-d H:i:s',strtotime('2005-06-30 21:04:23')); 7 $strMonAfter = date('Y-m-d H:i:s',strtotime('+1 month',strtotime($strCurrDate)));
|
H A D | bug33578.phpt | 2 Bug #33578 (strtotime() doesn't parse "11 Oct" format") 6 echo date('m/d/Y', strtotime('Oct 11')), "\n"; 7 echo date('m/d/Y', strtotime('11 Oct')), "\n"; 8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n"; 9 echo date('m/d/Y', strtotime('Oct11')), "\n"; 10 echo date('m/d/Y', strtotime('11Oct')), "\n"; 11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n"; 12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
|
H A D | bug33869.phpt | 2 Bug #33869 (strtotime() doesn't parse "+1days" format) 6 $tm = strtotime("2005-01-01 01:01:01"); 7 echo date(DATE_ISO8601, strtotime('+5days', $tm)); 9 echo date(DATE_ISO8601, strtotime('+1month', $tm)); 11 echo date(DATE_ISO8601, strtotime('+1year', $tm)); 13 echo date(DATE_ISO8601, strtotime('+5 days', $tm)); 15 echo date(DATE_ISO8601, strtotime('+1 month', $tm)); 17 echo date(DATE_ISO8601, strtotime('+1 year', $tm));
|