Home
last modified time | relevance | path

Searched refs:date (Results 101 – 125 of 544) sorted by relevance

12345678910>>...22

/PHP-8.0/ext/date/tests/
H A Dbug63391.phpt5 ini_set('date.timezone', 'UTC');
10 foreach ($dates as $date) {
11 echo date_create($date)->format('Y-m-d D'), "\n";
H A Dbug33415-2.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
27 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
36 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
44 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
53 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
61 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
70 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
79 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
87 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Ddate.phpt2 date() function
9 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
15 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
H A Ddate-parse-by-format001.phpt5 $date = "06/08/04";
6 print_r( date_parse_from_format( '!m/d/y', $date ) );
7 print_r( date_parse_from_format( '!m*d*y', $date ) );
H A Ddate_time_fractions_create_from_format.phpt4 date.timezone=UTC
15 ["date"]=>
23 ["date"]=>
H A Ddate_time_fractions_serialize.phpt4 date.timezone=UTC
17 O:8:"DateTime":3:{s:4:"date";s:26:"2016-10-03 12:47:18.819313";s:13:"timezone_type";i:3;s:8:"timezo…
19 ["date"]=>
H A Dstrtotime-mysql-64bit.phpt14 foreach($d as $date) {
15 $time = strtotime($date);
18 var_dump(date('r', $time));
H A Dbug54316.phpt4 date.timezone=UTC
15 ["date"]=>
23 ["date"]=>
H A Dstrtotime_basic.phpt14 var_dump(date('Y-m-d', strtotime('1 Monday December 2008')));
19 var_dump(date('Y-m-d', strtotime('2 Monday December 2008')));
24 var_dump(date('Y-m-d', strtotime('3 Monday December 2008')));
28 var_dump(date('Y-m-d', strtotime('first Monday December 2008')));
32 var_dump(date('Y-m-d', strtotime('second Monday December 2008')));
36 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
H A D005.phpt19 Warning: idate(): Unrecognized date format token in %s on line %d
25 Warning: idate(): Unrecognized date format token in %s on line %d
29 Warning: idate(): Unrecognized date format token in %s on line %d
32 Warning: idate(): Unrecognized date format token in %s on line %d
H A Dgmstrftime_variation22.phpt2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation othe…
24 'Preferred date and time representation' => "%c",
25 'Preferred date representation' => "%x",
41 --Preferred date and time representation--
45 --Preferred date representation--
H A Dstrftime_variation22.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation other …
24 'Preferred date and time representation' => "%c",
25 'Preferred date representation' => "%x",
41 --Preferred date and time representation--
45 --Preferred date representation--
H A Dbug26320.phpt4 date.timezone=GMT0
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 Dbug64975.phpt4 date.timezone=UTC
7 $date = DateTime::createFromFormat('d M Y A h:i', '11 Mar 2013 PM 3:34');
8 var_dump($date, DateTime::getLastErrors());
H A Dbug45682.phpt4 date.timezone=UTC
8 $date = new DateTime("28-July-2008");
11 $diff = date_diff($date, $other);
H A Dbug33562.phpt2 Bug #33562 (date("") crashes)
6 echo "[", date(""), "]\n";
H A Dstrtotime-mysql.phpt14 foreach($d as $date) {
15 $time = strtotime($date);
18 var_dump(date('r', $time));
H A Dbug54851.phpt4 date.timezone=UTC
7 $date = new DateTime("2011-05-17T22:14:12");
8 $date2 = DateTime::createFromFormat("D H i s", $date->format("D"). ' 0 00 00');
9 echo $date->format("r"), "\n";
11 var_dump($date->format("D") == $date2->format("D"));
28 // - when the day is not the same as the day on the original date:
35 // - when the day *is* the same as the day on the original date:
H A Dgmdate_variation11.phpt11 echo "\n-- Testing gmdate() function with ISO 8601 date format --\n";
15 echo "\n-- Testing gmdate() function with RFC 2822 date format --\n";
27 -- Testing gmdate() function with ISO 8601 date format --
31 -- Testing gmdate() function with RFC 2822 date format --
H A Dbug48097.phpt4 date.timezone=UTC
19 ["date"]=>
30 ["date"]=>
H A Dbug50680.phpt4 date.timezone=UTC
7 var_dump(date("d", strtotime("March 1 eighth day 2009")));
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";
/PHP-8.0/ext/pcre/tests/
H A D003.phpt8 (?P<date>
28 ["date"]=>
98 ["date"]=>
121 ["date"]=>
/PHP-8.0/ext/standard/tests/network/
H A Dsetcookie.phpt4 date.timezone=UTC
24 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
25 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
29 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsp).' GMT; Max-Age=5',
30 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsn).' GMT; Max-Age=0',
31 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsc).' GMT; Max-Age=0',
36 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsp).' GMT; Max-Age=5',
37 …'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsn).' GMT; Max-Age=0; path=/path/; dom…
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_fetch_array_oo.phpt195 $date = @date('Y-m-d');
196 func_mysqli_fetch_array($mysqli, $engine, "DATE",$date, $date, 410);
197 func_mysqli_fetch_array($mysqli, $engine, "DATE NOT NULL",$date, $date, 420);
200 $date = @date('Y-m-d H:i:s');
201 func_mysqli_fetch_array($mysqli, $engine, "DATETIME", $date, $date, 440);
202 func_mysqli_fetch_array($mysqli, $engine, "DATETIME NOT NULL", $date, $date, 450);
204 func_mysqli_fetch_array($mysqli, $engine, "TIMESTAMP", $date, $date, 470);
205 $date = @date('H:i:s');
206 func_mysqli_fetch_array($mysqli, $engine, "TIME", $date, $date, 480);
207 func_mysqli_fetch_array($mysqli, $engine, "TIME NOT NULL", $date, $date, 490);
[all …]

Completed in 23 milliseconds

12345678910>>...22