Home
last modified time | relevance | path

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

1234

/PHP-5.5/ext/date/tests/
H A Dmktime_basic1.phpt5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat…
17 $hour = 10;
25 var_dump( mktime($hour) );
26 var_dump( mktime($hour, $minute) );
27 var_dump( mktime($hour, $minute, $sec) );
28 var_dump( mktime($hour, $minute, $sec, $month) );
29 var_dump( mktime($hour, $minute, $sec, $month, $day) );
30 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
31 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $is_dst) );
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]
70 1081296000 [2004-04-07 02:00:00 CEST] [2004-04-07 00:00:00 +2 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 SGT] [2004-04-07 00:00:00 +1 hour]
100 1081274400 [2004-04-07 02:00:00 SGT] [2004-04-07 00:00:00 +2 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 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 Ddate-lenient.phpt22 [hour] =>
44 [hour] =>
66 [hour] =>
88 [hour] =>
110 [hour] =>
131 [hour] =>
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 Ddate_time_set_error.phpt5 /* Prototype : DateTime date_time_set ( DateTime $object , int $hour , int $minute [, int $sec…
20 $hour = 18;
22 var_dump( date_time_set($datetime, $hour) );
28 var_dump( date_time_set($datetime, $hour, $min, $sec, $extra_arg) );
32 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
34 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
36 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
H A Dgmmktime_error.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
15 $hour = 8;
24 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg1) );
26 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg1, $extra_arg2) );
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 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 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 DDateTime_setTime_error.phpt5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] )
21 $hour = 18;
22 var_dump( $datetime->setTime($hour) );
28 var_dump( $datetime->setTime($hour, $min, $sec, $extra_arg) );
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 Dmktime_error.phpt5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat…
21 $hour = 10;
29 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $is_dst, $extra_arg) );
H A Dbug67253.phpt17 ["hour"]=>
35 string(51) "Meridian can only come after an hour has been found"
H A Dmktime_variation1.phpt2 Test mktime() function : usage variation - Passing unexpected values to first argument $hour.
5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat…
11 echo "*** Testing mktime() : usage variation - unexpected values to first argument \$hour***\n";
97 $hour = 10;
105 foreach($inputs as $variation =>$hour) {
107 var_dump( mktime($hour) );
116 *** Testing mktime() : usage variation - unexpected values to first argument $hour***
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"]=>
/PHP-5.5/ext/xsl/tests/
H A Dxslt010.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-5.5/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 26 milliseconds

1234