Home
last modified time | relevance | path

Searched refs:date (Results 51 – 75 of 738) sorted by relevance

12345678910>>...30

/PHP-5.5/ext/standard/tests/array/
H A Darray_column_variant.phpt7 456 => array('id' => '3', 'title' => 'Foo', 'date' => '2013-03-25'),
8 457 => array('id' => '5', 'title' => 'Bar', 'date' => '2012-05-20'),
30 ["date"]=>
39 ["date"]=>
51 ["date"]=>
60 ["date"]=>
72 ["date"]=>
81 ["date"]=>
/PHP-5.5/ext/date/tests/
H A Dgmstrftime_variation21.phpt2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation on W…
12 * Description: Format a GMT/UCT time/date according to locale settings
13 * Source code: ext/date/php_date.c
26 'Preferred date and time representation' => "%c",
27 'Preferred date representation' => "%x",
44 --Preferred date and time representation--
48 --Preferred date representation--
H A Dstrftime_variation21.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation on Win…
12 * Description: Format a local time/date according to locale settings
13 * Source code: ext/date/php_date.c
26 'Preferred date and time representation' => "%c",
27 'Preferred date representation' => "%x",
44 --Preferred date and time representation--
48 --Preferred date representation--
H A Dbug33414-2.phpt8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Dbug35414.phpt7 echo date(DATE_ISO8601, strtotime("Sat 26th Nov 2005 18:18")) . "\n";
8 echo date(DATE_ISO8601, strtotime("26th Nov", 1134340285)) . "\n";
9 echo date(DATE_ISO8601, strtotime("Dec. 4th, 2005")) . "\n";
10 echo date(DATE_ISO8601, strtotime("December 4th, 2005")) . "\n";
H A Dstrtotime_variation_scottish.phpt6 var_dump(date('H:i:s', strtotime('back of 7')));
7 var_dump(date('H:i:s', strtotime('front of 7')));
8 var_dump(date('H:i:s', strtotime('back of 19')));
9 var_dump(date('H:i:s', strtotime('front of 19')));
H A DDateTimeZone_getOffset_basic1.phpt7 * Source code: ext/date/php_date.c
17 $date = new DateTime("GMT");
18 var_dump( $tz1->getOffset($date) );
21 var_dump( $tz2->getOffset($date) );
24 var_dump( $tz3->getOffset($date) );
H A Dtimezone_offset_get_basic1.phpt7 * Source code: ext/date/php_date.c
17 $date = date_create("GMT");
19 var_dump(timezone_offset_get($tz, $date));
22 var_dump(timezone_offset_get($tz, $date));
25 var_dump(timezone_offset_get($tz, $date));
H A Ddate_default_timezone_get-1.phpt8 date.timezone=
13 echo date('e'), "\n";
16date.timezone setting or the date_default_timezone_set() function. In case you used any of those m…
19date(): It is not safe to rely on the system's timezone settings. You are *required* to use the da…
H A Dgmstrftime_variation22.phpt2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation othe…
15 * Description: Format a GMT/UCT time/date according to locale settings
16 * Source code: ext/date/php_date.c
30 'Preferred date and time representation' => "%c",
31 'Preferred date representation' => "%x",
48 --Preferred date and time representation--
52 --Preferred date representation--
H A Dstrftime_variation22.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation other …
15 * Description: Format a local time/date according to locale settings
16 * Source code: ext/date/php_date.c
30 'Preferred date and time representation' => "%c",
31 'Preferred date representation' => "%x",
48 --Preferred date and time representation--
52 --Preferred date representation--
H A Ddate_variation1.phpt2 Test date() function : usage variation - Passing unexpected values to first argument $format.
5 /* Prototype : string date ( string $format [, int $timestamp ] )
6 * Description: Format a local time/date.
7 * Source code: ext/date/php_date.c
101 var_dump( date($format, $timestamp) );
135 Warning: date() expects parameter 1 to be string, array given in %s on line %d
140 Warning: date() expects parameter 1 to be string, array given in %s on line %d
145 Warning: date() expects parameter 1 to be string, array given in %s on line %d
150 Warning: date() expects parameter 1 to be string, array given in %s on line %d
194 Warning: date() expects parameter 1 to be string, object given in %s on line %d
[all …]
H A Dbug46874.phpt7 foreach ($dp as $date) {
8 echo $date->format("Y-m-d H:i:s\n");
14 foreach ($dp as $date) {
15 echo $date->format("Y-m-d H:i:s\n");
H A Ddate_create_variation1.phpt132 ["date"]=>
140 ["date"]=>
154 ["date"]=>
162 ["date"]=>
204 ["date"]=>
212 ["date"]=>
222 ["date"]=>
230 ["date"]=>
244 ["date"]=>
252 ["date"]=>
[all …]
H A Dbug32588.phpt4 date.timezone=America/New_York
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 Dbug26317.phpt4 date.timezone=GMT0
11 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z"));
12 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T"));
13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C"));
H A DDateTime_format_error.phpt6 * Description: Returns date formatted according to given format
7 * Source code: ext/date/php_date.c
14 // Craete a date object
15 $date = new DateTime("2005-07-14 22:30:41");
20 var_dump( $date->format() );
25 var_dump( $date->format($format, $extra_arg) );
H A Dgmdate_variation11.phpt6 * Description: Format a GMT date/time
7 * Source code: ext/date/php_date.c
17 echo "\n-- Testing gmdate() function with ISO 8601 date format --\n";
21 echo "\n-- Testing gmdate() function with RFC 2822 date format --\n";
34 -- Testing gmdate() function with ISO 8601 date format --
38 -- Testing gmdate() function with RFC 2822 date format --
H A Ddate_create_basic.phpt7 * Source code: ext/date/php_date.c
27 ["date"]=>
35 ["date"]=>
43 ["date"]=>
51 ["date"]=>
H A Dbug48276.phpt2 Bug #48276 (date("Y") prints wrong year on Big Endian machines)
4 date.timezone=UTC
7 var_dump(date("Y", 1245623227));
/PHP-5.5/ext/intl/tests/
H A Dmsgfmt_format_error5.phpt2 MessageFormatter::format() invalid date/time argument
4 date.timezone=Atlantic/Azores
16 {foo,date}
23 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
25 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
H A Dmsgfmt_format_intlcalendar.phpt11 ini_set('date.timezone', 'Europe/Lisbon');
15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
20 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
H A Dmsgfmt_format_intlcalendar_variant2.phpt11 ini_set('date.timezone', 'Europe/Lisbon');
15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
20 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
H A Dmsgfmt_format_intlcalendar_variant4.phpt11 ini_set('date.timezone', 'Europe/Lisbon');
15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
20 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
H A Dmsgfmt_format_intlcalendar_variant3.phpt12 ini_set('date.timezone', 'Europe/Lisbon');
16 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
21 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}');
23 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",

Completed in 118 milliseconds

12345678910>>...30