/PHP-8.1/ext/date/tests/ |
H A D | bug32588.phpt | 4 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 D | timezone_offset_get_basic1.phpt | 11 $date = date_create("GMT"); 13 var_dump(timezone_offset_get($tz, $date)); 16 var_dump(timezone_offset_get($tz, $date)); 19 var_dump(timezone_offset_get($tz, $date));
|
H A D | bug48276.phpt | 2 Bug #48276 (date("Y") prints wrong year on Big Endian machines) 4 date.timezone=UTC 7 var_dump(date("Y", 1245623227));
|
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 | bug26317.phpt | 4 date.timezone=GMT0 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z")); 14 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T")); 15 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C"));
|
H A D | DateTimeZone_getOffset_basic1.phpt | 11 $date = new DateTime("GMT"); 12 var_dump( $tz1->getOffset($date) ); 15 var_dump( $tz2->getOffset($date) ); 18 var_dump( $tz3->getOffset($date) );
|
H A D | bug54340.phpt | 4 date.timezone=UTC 22 ["date"]=> 30 ["date"]=> 38 ["date"]=>
|
H A D | bug75167.phpt | 9 $date = new DateTime("2014-3-30 00:00:00", $tz); 11 // Add five hours and subtract 5 hours. The $newDate should then equal the date. 12 $five_hours_later = (clone $date)->add($five_hours_interval); 15 echo $date->format('c') . "\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 | 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 | 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 | bug69806.phpt | 2 Bug #69806 (Incorrect date from timestamp) 7 ini_set('date.timezone', 'America/New_York'); 9 echo date('Y-m-d H:i:s', 2377224000)."\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 | strtotime.phpt | 12 foreach($d as $date) { 13 echo date(DATE_ISO8601, $date), "\n";
|
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 | 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_create_basic.phpt | 20 ["date"]=> 28 ["date"]=> 36 ["date"]=> 44 ["date"]=>
|
/PHP-8.1/ext/intl/tests/ |
H A D | bug69398-icu74.1.phpt | 12 $date = IntlCalendar::createInstance('Asia/Ho_Chi_Minh'); 13 $date->setTime($millitimestamp); 14 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE… 15 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
|
H A D | msgfmt_format_intlcalendar_variant4.phpt | 16 ini_set('date.timezone', 'Europe/Lisbon'); 20 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}'); 25 '{1, select, date {{0,date,full}} other {{0,time,h:m:s a V}}}'); 27 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
|
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 | bug69398.phpt | 13 $date = IntlCalendar::createInstance('Asia/Ho_Chi_Minh'); 14 $date->setTime($millitimestamp); 15 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE… 16 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
|
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";
|
H A D | calendar_fromDateTime_error.phpt | 22 $date = new DateTime('2012-01-01 00:00:00 +24:00'); 23 var_dump(IntlCalendar::fromDateTime($date)); 25 $date = new DateTime('2012-01-01 00:00:00 WEST'); 26 var_dump(IntlCalendar::fromDateTime($date)); 36 …ateTime(): intlcal_from_date_time: time zone id 'WEST' extracted from ext/date DateTimeZone not re…
|
/PHP-8.1/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-8.1/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);
|