Home
last modified time | relevance | path

Searched refs:strtotime (Results 51 – 75 of 159) sorted by relevance

1234567

/php-src/ext/date/tests/
H A Dbug29585.phpt2 Bug #29585 (Support week numbers in strtotime())
6 echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
H A Dbug37747.phpt2 Bug #37747 (strtotime segfaults when given "nextyear")
6 var_dump(strtotime("nextyear"));
H A Dbug35630.phpt2 Bug #35630 (strtotime() crashes on non-separated relative modifiers)
7 echo date(DATE_ISO8601, strtotime('5 january 2006+3day+1day')) . "\n";
H A Dbug35705.phpt2 Bug #35705 (strtotime() fails to parse soap date format without TZ)
7 echo date(DATE_ISO8601, strtotime('2000-10-10T10:12:30.000')) . "\n";
H A Dbug36599.phpt7 echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n";
8 echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n";
H A Dbug21399.phpt2 Bug #21399 (strtotime() request for "YYYYMMDDhhmmss [ZZZ]")
7 echo gmdate("Y-m-d H:i:s", strtotime("20050620091407 GMT"));
H A Dbug28599.phpt2 Bug #28599 (strtotime fails with zero base time)
6 print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
H A Dbug33452.phpt6 echo date('Y-W', strtotime('2005-1-1')), "\n";
7 echo date('o-W', strtotime('2005-1-1')), "\n";
H A D002.phpt2 strtotime() function
37 echo date ("Y-m-d H:i:s\n", strtotime ($date));
48 echo date ("Y-m-d H:i:s\n", strtotime ($date));
H A Dbug41523.phpt2 Bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30) (32 bit)
10 var_dump( strtotime('0000-00-00 00:00:00') );
47 Warning: strtotime(): Epoch doesn't fit in a PHP integer in %s on line %d
H A Dbug26694.phpt2 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 Dstrtotime_basic2.phpt2 strtotime() with return false
10 var_dump(strtotime('mayy 2 2009')); // misspelled month name
H A Dbug36224.phpt7 echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56Z')) . "\n";
8 echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56')) . "\n";
H A Dbug43960.phpt2 Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
6 var_dump(strtotime('i like to eat slices at work'));
H A Dbug33414-1.phpt11 $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 Dbug34304.phpt6 echo date('o\-\WW\-N', strtotime('2 January 2005')), "\n";
7 echo date('o\-\WW\-N', strtotime('9 January 2005')), "\n";
H A Dformat-negative-timestamp.phpt2 strtotime() - Format: @timestamps
16 if (strtotime("@$new_tm") != $new_tm) {
H A Dbug35885.phpt2 Bug #35885 (strtotime("NOW") no longer works)
8 $ts = date(DATE_ISO8601, strtotime('NOW', $time));
H A Dbug53502.phpt2 Bug #53502 (strtotime with timezone memory leak)
8 strtotime('Monday 00:00 Europe/Paris'); // Memory leak
H A Dbug35499.phpt2 Bug #35499 (strtotime() does not handle whitespace around the date string)
7 echo date(DATE_ISO8601, strtotime("11/20/2005 8:00 AM \r\n")) . "\n";
8 echo date(DATE_ISO8601, strtotime(" 11/20/2005 8:00 AM \r\n")) . "\n";
H A Dbug33414-2.phpt9 $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 Dbug81504.phpt9 foreach ($tz->getTransitions(strtotime("1996-01-01"), strtotime("1997-12-31")) as $tr) {
/php-src/ext/intl/tests/
H A Dcalendar_fromDateTime_basic.phpt14 strtotime('2012-01-01 00:00:00 Europe/Rome') * 1000.,
23 strtotime('2012-01-01 00:00:00 PST') * 1000.,
33 strtotime('2012-01-01 00:00:00 +03:40') * 1000.,
H A Dcalendar_set_date_time.phpt13 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:00 +0000') * 1000.);
16 var_dump($intlcal->getTime(), strtotime('2012-02-29 23:58:31 +0000') * 1000.);
H A Dcalendar_inDaylightTime_basic.phpt13 $intlcal->setTime(strtotime('2012-01-01') * 1000);
15 $intlcal->setTime(strtotime('2012-04-01') * 1000);

Completed in 23 milliseconds

1234567