Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 65) sorted by relevance

123

/PHP-8.0/ext/date/tests/
H A Dmktime_basic1.phpt10 $hour = 10;
17 var_dump( mktime($hour) );
18 var_dump( mktime($hour, $minute) );
19 var_dump( mktime($hour, $minute, $sec) );
20 var_dump( mktime($hour, $minute, $sec, $month) );
21 var_dump( mktime($hour, $minute, $sec, $month, $day) );
22 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
H A Dbug27780.phpt19 "2004-04-07 00:00:00 +1 hour",
20 "2004-04-07 00:00:00 +2 hour",
49 1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour]
50 1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour]
64 1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour]
79 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour]
80 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour]
94 1081270800 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour]
95 1081274400 [2004-04-07 02:00:00 %s] [2004-04-07 00:00:00 +2 hour]
109 1081310400 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour]
[all …]
H A Dgmdate_variation9.phpt16 '12-hour format without leading zeros' => 'g',
17 '24-hour format without leading zeros' => 'G',
18 '12-hour format with leading zeros' => 'h',
19 '24-hour format with leading zeros' => 'H',
47 --12-hour format without leading zeros--
51 --24-hour format without leading zeros--
55 --12-hour format with leading zeros--
59 --24-hour format with leading zeros--
H A Ddate-lenient.phpt22 [hour] =>
44 [hour] =>
66 [hour] =>
88 [hour] =>
110 [hour] =>
131 [hour] =>
H A Dgmmktime_variation7.phpt8 $hour = 8;
15 var_dump( gmmktime($hour) );
18 var_dump( gmmktime($hour, $min) );
21 var_dump( gmmktime($hour, $min, $sec) );
24 var_dump( gmmktime($hour, $min, $sec, $mon) );
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
H A Dgmmktime_variation9_64bits.phpt12 $hour = 8;
30 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
31 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
H A Ddate_parse_001.phpt25 ["hour"]=>
53 ["hour"]=>
81 ["hour"]=>
117 ["hour"]=>
147 ["hour"]=>
175 ["hour"]=>
203 ["hour"]=>
241 ["hour"]=>
277 ["hour"]=>
H A Dgmmktime_variation8.phpt8 $hour = 010;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
19 $hour = 0x8;
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Didate_variation5.phpt14 '12 hour format' => 'h',
15 '24 hour format' => 'H',
35 --12 hour format--
38 --24 hour format--
H A Dgmmktime_variation9.phpt12 $hour = 8;
30 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
31 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
H A Dgmstrftime_variation6.phpt14 'Hour as decimal by 24-hour format' => "%H",
15 'Hour as decimal by 12-hour format' => "%I",
33 --Hour as decimal by 24-hour format--
37 --Hour as decimal by 12-hour format--
H A Dstrftime_variation6.phpt15 'Hour as decimal by 24-hour format' => "%H",
16 'Hour as decimal by 12-hour format' => "%I",
34 --Hour as decimal by 24-hour format--
38 --Hour as decimal by 12-hour format--
H A Dgmmktime_basic.phpt8 $hour = 8;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Ddate_parse_basic1.phpt24 ["hour"]=>
52 ["hour"]=>
80 ["hour"]=>
H A Ddate-parse-by-format001.phpt15 [hour] => 0
36 [hour] => 0
H A Dbug30096.phpt21 function gm_date_check($hour, $minute, $second, $month, $day, $year) {
24 echo "gmmktime($hour,$minute,$second,$month,$day,$year): ";
27 $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
H A Dbug30532.phpt8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n";
14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n";
H A Dmktime_error.phpt18 $hour = 10;
26 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
H A Dbug35499.phpt22 ["hour"]=>
58 ["hour"]=>
H A Dbug43075.phpt2 Bug #43075 (Support 24 as hour)
/PHP-8.0/ext/xsl/tests/
H A Dxslt010.phpt43 hour-in-day : NaN
44 minute-in-hour : NaN
61 hour-in-day : NaN
62 minute-in-hour : NaN
79 hour-in-day : NaN
80 minute-in-hour : NaN
97 hour-in-day : NaN
98 minute-in-hour : NaN
115 hour-in-day : NaN
116 minute-in-hour : NaN
[all …]
H A Dxslt010_gt10129.phpt42 hour-in-day : NaN
43 minute-in-hour : NaN
60 hour-in-day : NaN
61 minute-in-hour : NaN
78 hour-in-day : NaN
79 minute-in-hour : NaN
96 hour-in-day : NaN
97 minute-in-hour : NaN
114 hour-in-day : NaN
115 minute-in-hour : NaN
[all …]
/PHP-8.0/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_int.phpt7 public function setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false)
13 …Time::setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false) must be compatib…
/PHP-8.0/ext/date/lib/
H A Dtimelib.c186 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
189 *hour = floor(h); in timelib_decimal_hour_to_hms()
190 *min = floor((h - *hour) * 60); in timelib_decimal_hour_to_hms()
191 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
193 *hour = ceil(h); in timelib_decimal_hour_to_hms()
194 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
195 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms()
199 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
201 if (hour > 0) { in timelib_hms_to_decimal_hour()
202 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
[all …]
/PHP-8.0/ext/intl/calendar/
H A Dcalendar.stub.php237 …public function set(int $year, int $month, int $dayOfMonth = UNKNOWN, int $hour = UNKNOWN, int $mi… argument
289 * @param int $hour
293 …uct($timezoneOrYear = UNKNOWN, $localeOrMonth = UNKNOWN, $day = UNKNOWN, $hour = UNKNOWN, $minute … argument

Completed in 94 milliseconds

123