/PHP-7.4/ext/date/tests/ |
H A D | bug20382-1.phpt | 2 Bug #20382 [1] (strtotime ("Monday", $date) produces wrong result on DST changeover) 4 date.timezone=Europe/Amsterdam 8 echo "tStamp=". date("l Y-m-d H:i:s T", $tStamp). "\n"; 11 echo "result=". date("l Y-m-d H:i:s T", $strtotime_timestamp). "\n";
|
H A D | bug36224.phpt | 2 Bug #36224 (date(DATE_ATOM) gives wrong resulsts) 7 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 D | date_create_basic.phpt | 7 * Source code: ext/date/php_date.c 27 ["date"]=> 35 ["date"]=> 43 ["date"]=> 51 ["date"]=>
|
H A D | gmdate_variation11.phpt | 6 * 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 D | bug54340.phpt | 4 date.timezone=UTC 21 ["date"]=> 29 ["date"]=> 37 ["date"]=>
|
H A D | bug38229.phpt | 6 echo date("Y-m", strtotime('2006-1'))."\n"; 7 echo date("Y-m", strtotime('2006-03'))."\n"; 8 echo date("Y-m", strtotime('2006-12'))."\n";
|
H A D | bug67118_2.phpt | 4 date.timezone=Europe/Paris 20 $date = '12 Sep 2007 15:49:12 UT'; 21 var_dump(new Foo($date)); 28 ["date"]=>
|
H A D | DateTime_construct_basic1.phpt | 7 * Source code: ext/date/php_date.c 27 ["date"]=> 35 ["date"]=> 43 ["date"]=> 51 ["date"]=>
|
H A D | strtotime.phpt | 12 foreach($d as $date) { 13 echo date(DATE_ISO8601, $date), "\n";
|
H A D | bug13142.phpt | 4 date.timezone=US/Eastern 17 if (date('T') == 'GMT') { 20 echo date("r\n", strtotime("Sep 04 16:39:45 2001")); 21 echo date("r\n", strtotime("Sep 04 2001 16:39:45"));
|
H A D | bug34304.phpt | 2 Bug #34304 (date('w') returns wrong number for sunday, 'N' modifier is missing) 6 echo date('o\-\WW\-N', strtotime('2 January 2005')), "\n"; 7 echo date('o\-\WW\-N', strtotime('9 January 2005')), "\n";
|
H A D | date_parse_error.phpt | 5 /* Prototype : array date_parse ( string $date ) 6 * Description: Returns associative array with detailed info about given date. 7 * Source code: ext/date/php_date.c 19 $date = "2009-02-27 10:00:00.5"; 21 var_dump( date_parse($date, $extra_arg) ); 23 echo "\n-- Testing date_parse() function with unexpected characters in \$date argument --\n"; 42 -- Testing date_parse() function with unexpected characters in $date argument --
|
H A D | bug35456.phpt | 9 echo date(DATE_ISO8601, strtotime("+ 1 day", $t)) . "\n"; 10 echo date(DATE_ISO8601, strtotime("+ 1 month", $t)) . "\n"; 11 echo date(DATE_ISO8601, strtotime("+ 1 week", $t)) . "\n";
|
H A D | bug40861.phpt | 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
|
H A D | bug33415-2.phpt | 10 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 D | bug63391.phpt | 5 ini_set('date.timezone', 'UTC'); 10 foreach ($dates as $date) { 11 echo date_create($date)->format('Y-m-d D'), "\n";
|
H A D | bug26090.phpt | 4 date.timezone=America/New_York 8 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n"; 11 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
|
H A D | date.phpt | 2 date() function 9 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n"; 15 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
|
H A D | strtotime_basic.phpt | 14 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')));
|
/PHP-7.4/ext/intl/tests/ |
H A D | msgfmt_format_intlcalendar_variant3.phpt | 12 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')), " ",
|
H A D | timezone_getOffset_basic.phpt | 4 date.timezone=Atlantic/Azores 14 $date = strtotime("1 July 2012 +0000"); 16 var_dump($ams->getOffset($date *1000., true, $rawOffset, $dstOffset), 21 var_dump(intltz_get_offset($lsb, $date *1000., true, $rawOffset, $dstOffset),
|
H A D | bug69374.phpt | 12 $date = IntlCalendar::createInstance('Asia/Ho_Chi_Minh'); 13 $date->setTime($millitimestamp); 14 echo IntlDateFormatter::formatObject($date, $pattern1, 'vi_VN'), "\n"; 15 echo IntlDateFormatter::formatObject ($date, $pattern2, 'ko_KR'), "\n";
|
/PHP-7.4/ext/standard/tests/network/ |
H A D | bug72071.phpt | 4 date.timezone=UTC 8 $date = mktime(12, 25, 39, 4, 1, 2017); 9 setcookie("name", "value", $date);
|
/PHP-7.4/ext/calendar/tests/ |
H A D | cal_from_jd.phpt | 15 [date] => 8/26/74 27 [date] => 8/26/74 39 [date] => 8/26/74 51 [date] => 0/0/0
|
/PHP-7.4/ext/pcre/tests/ |
H A D | 001.phpt | 8 (?P<date> 23 ["date"]=> 46 ["date"]=> 69 ["date"]=>
|