Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/date/tests/
H A Dmktime_basic1.phpt5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat…
16 $hour = 10;
23 var_dump( mktime($hour) );
24 var_dump( mktime($hour, $minute) );
25 var_dump( mktime($hour, $minute, $sec) );
26 var_dump( mktime($hour, $minute, $sec, $month) );
27 var_dump( mktime($hour, $minute, $sec, $month, $day) );
28 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
H A Dbug27780.phpt24 "2004-04-07 00:00:00 +1 hour",
25 "2004-04-07 00:00:00 +2 hour",
54 1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour]
55 1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour]
69 1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour]
84 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour]
85 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour]
99 1081270800 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour]
100 1081274400 [2004-04-07 02:00:00 %s] [2004-04-07 00:00:00 +2 hour]
114 1081310400 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour]
[all …]
H A Dgmdate_variation9.phpt22 '12-hour format without leading zeros' => 'g',
23 '24-hour format without leading zeros' => 'G',
24 '12-hour format with leading zeros' => 'h',
25 '24-hour format with leading zeros' => 'H',
54 --12-hour format without leading zeros--
58 --24-hour format without leading zeros--
62 --12-hour format with leading zeros--
66 --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.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
14 $hour = 8;
21 var_dump( gmmktime($hour) );
24 var_dump( gmmktime($hour, $min) );
27 var_dump( gmmktime($hour, $min, $sec) );
30 var_dump( gmmktime($hour, $min, $sec, $mon) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
H A Dgmmktime_variation9.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
14 $hour = 8;
32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
33 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
H A Dgmmktime_variation8.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
14 $hour = 010;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
25 $hour = 0x8;
33 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Ddate_parse_001.phpt26 ["hour"]=>
54 ["hour"]=>
82 ["hour"]=>
118 ["hour"]=>
148 ["hour"]=>
176 ["hour"]=>
204 ["hour"]=>
242 ["hour"]=>
278 ["hour"]=>
H A Didate_variation5.phpt20 '12 hour format' => 'h',
21 '24 hour format' => 'H',
42 --12 hour format--
45 --24 hour format--
H A Dgmmktime_basic.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
14 $hour = 8;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgmstrftime_variation6.phpt20 'Hour as decimal by 24-hour format' => "%H",
21 'Hour as decimal by 12-hour format' => "%I",
40 --Hour as decimal by 24-hour format--
44 --Hour as decimal by 12-hour format--
H A Dstrftime_variation6.phpt21 'Hour as decimal by 24-hour format' => "%H",
22 'Hour as decimal by 12-hour format' => "%I",
41 --Hour as decimal by 24-hour format--
45 --Hour as decimal by 12-hour format--
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 Ddate_parse_basic1.phpt30 ["hour"]=>
58 ["hour"]=>
86 ["hour"]=>
H A Dbug67253.phpt17 ["hour"]=>
35 string(51) "Meridian can only come after an hour has been found"
H A Dmktime_error.phpt5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat…
20 $hour = 10;
27 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
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 Dbug35499.phpt22 ["hour"]=>
58 ["hour"]=>
H A Dbug43075.phpt2 Bug #43075 (Support 24 as hour)
H A Dgmstrftime_variation15.phpt21 'Time in 24 hour notation' => "%R",
42 --Time in 24 hour notation--
/PHP-7.4/ext/xsl/tests/
H A Dxslt010.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 …]
H A Dxslt010_gt10129.phpt41 hour-in-day : NaN
42 minute-in-hour : NaN
59 hour-in-day : NaN
60 minute-in-hour : NaN
77 hour-in-day : NaN
78 minute-in-hour : NaN
95 hour-in-day : NaN
96 minute-in-hour : NaN
113 hour-in-day : NaN
114 minute-in-hour : NaN
[all …]
/PHP-7.4/ext/date/lib/
H A Dtimelib.c185 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
188 *hour = floor(h); in timelib_decimal_hour_to_hms()
189 *min = floor((h - *hour) * 60); in timelib_decimal_hour_to_hms()
190 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
192 *hour = ceil(h); in timelib_decimal_hour_to_hms()
193 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
194 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms()
198 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
200 if (hour > 0) { in timelib_hms_to_decimal_hour()
201 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
[all …]
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_format.c106 hour, in internal_get_timestamp() local
121 hour = INTL_GET_ELEM(CALENDAR_HOUR); in internal_get_timestamp()
139 ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()

Completed in 31 milliseconds

123