/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug44996.phpt | 2 Bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime) 8 function DecodeDatetime($datetime) { 9 print "\nISO 8601 datetime $datetime\n"; 21 ISO 8601 datetime 20010909T01:46:40Z 25 [xmlrpc_type] => datetime 29 ISO 8601 datetime 20010909T00:46:40-01 33 [xmlrpc_type] => datetime 37 ISO 8601 datetime 2001-09-09T08:46:40+07:00 41 [xmlrpc_type] => datetime 45 ISO 8601 datetime 2001-09-08T21:46:40-0400 [all …]
|
H A D | bug68027.phpt | 11 xmlrpc_set_type($d, 'datetime'); 13 $datetime = "2001-0-08T21:46:40-0400"; 14 …rsion=\"1.0\"?><methodResponse><params><param><value><dateTime.iso8601>$datetime</dateTime.iso8601… 17 $datetime = "34770-0-08T21:46:40-0400"; 18 …rsion=\"1.0\"?><methodResponse><params><param><value><dateTime.iso8601>$datetime</dateTime.iso8601… 28 string(8) "datetime" 35 [xmlrpc_type] => datetime 41 [xmlrpc_type] => datetime
|
H A D | bug45226.phpt | 11 xmlrpc_set_type($d, 'datetime'); 15 xmlrpc_set_type($d, 'datetime');
|
H A D | bug42189.phpt | 8 $ok = xmlrpc_set_type($a, 'datetime');
|
H A D | bug70526.phpt | 10 $rv = xmlrpc_set_type($params, 'datetime');
|
H A D | bug18916.phpt | 11 xmlrpc_set_type($params, 'datetime');
|
/PHP-7.4/ext/date/tests/ |
H A D | bug73489.phpt | 6 $datetime = new DateTime('2016-11-09 20:00:00', new DateTimeZone('UTC')); 7 var_dump($datetime->getTimestamp()); 8 $datetime->setTimeZone(new DateTimeZone('-03:00')); 9 $datetime->setTimeZone(new DateTimeZone('-03:00')); 10 var_dump($datetime->getTimestamp()); 13 $datetime = new DateTime('2016-11-09 20:00:00', new DateTimeZone('UTC')); 14 var_dump($datetime->getTimestamp()); 15 $datetime->setTimeZone(new DateTimeZone('-03:00')); 16 $datetime->getTimestamp(); 17 $datetime->setTimeZone(new DateTimeZone('-03:00')); [all …]
|
H A D | DateTime_setTime_basic1.phpt | 17 $datetime = new DateTime("2009-01-31 15:14:10"); 19 echo "Initial date: " . $datetime ->format(DATE_RFC2822) . "\n"; 21 $datetime->setTime(17, 20); 22 echo "After modification1 " . $datetime ->format(DATE_RFC2822) . "\n"; 24 $datetime->setTime(19, 05, 59); 25 echo "After modification2 " . $datetime ->format(DATE_RFC2822) . "\n"; 27 $datetime->setTime(24, 10); 28 echo "After modification3 " . $datetime ->format(DATE_RFC2822) . "\n"; 30 $datetime->setTime(47, 35, 47); 31 echo "After modification4 " . $datetime ->format(DATE_RFC2822) . "\n"; [all …]
|
H A D | date_time_set_basic1.phpt | 17 $datetime = date_create("2009-01-31 15:14:10"); 19 echo "Initial date: " . date_format($datetime, DATE_RFC2822) . "\n"; 21 date_time_set($datetime, 17, 20); 22 echo "After modification1 " . date_format($datetime, DATE_RFC2822) . "\n"; 24 date_time_set($datetime, 19, 05, 59); 25 echo "After modification2 " . date_format($datetime, DATE_RFC2822) . "\n"; 27 date_time_set($datetime, 24, 10); 28 echo "After modification3 " . date_format($datetime, DATE_RFC2822) . "\n"; 30 date_time_set($datetime, 47, 35, 47); 31 echo "After modification4 " . date_format($datetime, DATE_RFC2822) . "\n"; [all …]
|
H A D | date_modify_basic1.phpt | 17 $datetime = date_create("2009-01-31 14:28:41"); 19 date_modify($datetime, "+1 day"); 20 echo "After modification 1: " . date_format($datetime, "D, d M Y") . "\n"; 22 date_modify($datetime, "+1 week 2 days 4 hours 2 seconds"); 23 echo "After modification 2: " . date_format($datetime, "D, d M Y H:i:s") . "\n"; 25 date_modify($datetime, "next Thursday"); 26 echo "After modification 3: " . date_format($datetime, "D, d M Y") . "\n"; 28 date_modify($datetime, "last Sunday"); 29 echo "After modification 4: " . date_format($datetime, "D, d M Y") . "\n";
|
H A D | DateTime_modify_basic1.phpt | 17 $datetime = new DateTime("2009-01-31 14:28:41"); 19 $datetime->modify("+1 day"); 20 echo "After modification 1: " . $datetime->format("D, d M Y") . "\n"; 22 $datetime->modify("+1 week 2 days 4 hours 2 seconds"); 23 echo "After modification 2: " . $datetime->format("D, d M Y H:i:s") . "\n"; 25 $datetime->modify("next Thursday"); 26 echo "After modification 3: " . $datetime->format("D, d M Y") . "\n"; 28 $datetime->modify("last Sunday"); 29 echo "After modification 4: " . $datetime->format("D, d M Y") . "\n";
|
H A D | DateTime_setISODate_basic1.phpt | 17 $datetime = new DateTime("2009-01-30 17:57:32"); 20 $datetime->setISODate(2008, 40); 21 echo "Week 40 of 2009 is in \"" . $datetime->format("F") . "\"\n"; 24 $datetime->setISODate(2009, 30, 3); 25 echo "Week 30 day 3 of 2009 is \"" . $datetime->format("D M j") . "\"\n"; 28 $datetime->setISODate(2008, 30, 3); 29 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
|
H A D | date_isodate_set_basic1.phpt | 17 $datetime = date_create("2009-01-30 17:57:32"); 20 date_isodate_set($datetime, 2008, 40); 21 echo "Week 40 of 2009 is in \"" . date_format($datetime, "F") . "\"\n"; 24 date_isodate_set($datetime, 2009, 30, 3); 25 echo "Week 30 day 3 of 2009 is \"" . date_format($datetime, "D M j") . "\"\n"; 28 date_isodate_set($datetime, 2008, 30, 3); 29 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
|
H A D | date_timezone_set_basic1.phpt | 16 $datetime = date_create("2009-01-30 17:57:32"); 17 $tz = date_timezone_get($datetime); 20 $datetime = date_create("2009-01-30 22:57:32"); 23 date_timezone_set($datetime, $la_time); 24 $tz = date_timezone_get($datetime);
|
H A D | date_date_set_basic1.phpt | 16 $datetime = date_create("2009-01-30 19:34:10"); 18 echo date_format($datetime, DATE_RFC2822) . "\n"; 20 date_date_set($datetime, 2008, 02, 01); 22 echo date_format($datetime, DATE_RFC2822) . "\n";
|
H A D | DateTime_setDate_basic1.phpt | 16 $datetime = new DateTime("2009-01-30 19:34:10"); 18 echo $datetime->format(DATE_RFC2822) . "\n"; 20 $datetime->setDate(2008, 02, 01); 22 echo $datetime->format(DATE_RFC2822) . "\n";
|
H A D | DateTime_setTimezone_basic1.phpt | 16 $datetime = new DateTime("2009-01-30 17:57:32"); 17 echo "Default timezone: " . date_timezone_get($datetime)->getName() . "\n"; 20 $datetime->setTimezone($la_time); 21 echo "New timezone: " . date_timezone_get($datetime)->getName() . "\n";
|
H A D | bug43527.phpt | 6 $datetime = new DateTime('Fri, 07 Dec 2007 19:05:14 +1000'); 7 echo $datetime->getTimezone()->getName(), "\n";
|
H A D | DateTimeImmutable_modify_invalid_format.phpt | 6 $datetime = new DateTimeImmutable; 7 var_dump($datetime->modify(''));
|
H A D | bug63435.phpt | 8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i)); 9 $res = $datetime->format("u");
|
H A D | bug64887.phpt | 25 $datetime = new DateTimeImmutable( "2016-10-07 13:25:50" ); 29 echo $datetime->modify( $test )->format( 'Y-m-d H:i:s.u' ), "\n";
|
H A D | bug68078.phpt | 2 Comparing datetime objects should account for microseconds
|
/PHP-7.4/ext/intl/common/ |
H A D | common_date.cpp | 118 php_date_obj *datetime; in intl_datetime_decompose() local 132 datetime = Z_PHPDATE_P(z); in intl_datetime_decompose() 133 *millis = U_MILLIS_PER_SECOND * (double)Z_LVAL(retval) + (datetime->time->us / 1000); in intl_datetime_decompose() 138 php_date_obj *datetime; in intl_datetime_decompose() local 139 datetime = Z_PHPDATE_P(z); in intl_datetime_decompose() 140 if (!datetime->time) { in intl_datetime_decompose() 148 if (!datetime->time->is_localtime) { in intl_datetime_decompose() 151 *tz = timezone_convert_datetimezone(datetime->time->zone_type, in intl_datetime_decompose() 152 datetime, 1, NULL, func); in intl_datetime_decompose()
|
/PHP-7.4/ext/pdo_dblib/tests/ |
H A D | types.phpt | 31 CAST('2030-01-01 23:59:59' AS DATETIME) AS [datetime], 44 var_dump($row['datetime']); 57 var_dump($row['datetime']);
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 020.phpt | 25 c5 datetime, 35 c5 datetime,
|