/PHP-7.4/ext/date/tests/ |
H A D | mktime_basic1.phpt | 5 /* 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 D | bug27780.phpt | 24 "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 D | gmdate_variation9.phpt | 22 '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 D | date-lenient.phpt | 22 [hour] => 44 [hour] => 66 [hour] => 88 [hour] => 110 [hour] => 131 [hour] =>
|
H A D | gmmktime_variation7.phpt | 5 /* 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 D | gmmktime_variation9.phpt | 5 /* 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 D | gmmktime_variation8.phpt | 5 /* 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 D | date_parse_001.phpt | 26 ["hour"]=> 54 ["hour"]=> 82 ["hour"]=> 118 ["hour"]=> 148 ["hour"]=> 176 ["hour"]=> 204 ["hour"]=> 242 ["hour"]=> 278 ["hour"]=>
|
H A D | idate_variation5.phpt | 20 '12 hour format' => 'h', 21 '24 hour format' => 'H', 42 --12 hour format-- 45 --24 hour format--
|
H A D | gmmktime_basic.phpt | 5 /* 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 D | gmstrftime_variation6.phpt | 20 '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 D | strftime_variation6.phpt | 21 '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 D | date-parse-by-format001.phpt | 15 [hour] => 0 36 [hour] => 0
|
H A D | bug30096.phpt | 21 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 D | date_parse_basic1.phpt | 30 ["hour"]=> 58 ["hour"]=> 86 ["hour"]=>
|
H A D | bug67253.phpt | 17 ["hour"]=> 35 string(51) "Meridian can only come after an hour has been found"
|
H A D | mktime_error.phpt | 5 /* 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 D | bug30532.phpt | 8 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 D | bug35499.phpt | 22 ["hour"]=> 58 ["hour"]=>
|
H A D | bug43075.phpt | 2 Bug #43075 (Support 24 as hour)
|
H A D | gmstrftime_variation15.phpt | 21 'Time in 24 hour notation' => "%R", 42 --Time in 24 hour notation--
|
/PHP-7.4/ext/xsl/tests/ |
H A D | xslt010.phpt | 42 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 D | xslt010_gt10129.phpt | 41 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 D | timelib.c | 185 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 D | dateformat_format.c | 106 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()
|