Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.2/ext/date/tests/
H A Dbug27780.phpt11 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds",
12 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds",
13 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds",
16 "2004-04-07 00:00:00 -10 day +2 hours",
41 1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
42 1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
46 1080460800 [2004-03-28 02:00:00 CST] [2004-04-07 00:00:00 -10 day +2 hours]
61 1080435600 [2004-03-28 03:00:00 CEST] [2004-04-07 00:00:00 -10 day +2 hours]
76 1080432000 [2004-03-28 02:00:00 IST] [2004-04-07 00:00:00 -10 day +2 hours]
91 1080410400 [2004-03-28 02:00:00 %s] [2004-04-07 00:00:00 -10 day +2 hours]
[all …]
H A Dstrtotime-relative.phpt19 '134 hours',
20 '167 hours',
21 '168 hours',
22 '169 hours',
23 '183 hours',
63 +134 hours: 2008-03-05T02:00:00+0000
64 -134 hours: 2008-02-22T22:00:00+0000
65 +167 hours: 2008-03-06T11:00:00+0000
66 -167 hours: 2008-02-21T13:00:00+0000
67 +168 hours: 2008-03-06T12:00:00+0000
[all …]
H A Ddate_offset_get_basic1.phpt13 echo "Winter offset: " . date_offset_get($winter) / 3600 . " hours\n";
14 echo "Summer offset: " . date_offset_get($summer) / 3600 . " hours\n";
19 Winter offset: 0 hours
20 Summer offset: 1 hours
H A DDateTime_getOffset_basic1.phpt13 echo "Winter offset: " . $winter->getOffset() / 3600 . " hours\n";
14 echo "Summer offset: " . $summer->getOffset() / 3600 . " hours\n";
19 Winter offset: 0 hours
20 Summer offset: 1 hours
H A Dbug30532.phpt9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n";
10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n";
15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n";
16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
H A Dgetdate_variation5.phpt41 ["hours"]=>
67 ["hours"]=>
93 ["hours"]=>
119 ["hours"]=>
145 ["hours"]=>
171 ["hours"]=>
197 ["hours"]=>
H A Dgetdate_variation4.phpt37 ["hours"]=>
63 ["hours"]=>
89 ["hours"]=>
115 ["hours"]=>
H A Dbug55253.phpt18 echo $interval->format('Add %h hours %i minutes') . "\n";
29 echo $interval->format('Subtract %h hours %i minutes from expected') . "\n";
40 Add 2 hours 1 minutes
43 Subtract 2 hours 1 minutes from expected
H A Dgetdate_variation2.phpt36 ["hours"]=>
62 ["hours"]=>
88 ["hours"]=>
H A Ddate_interval_non_relative_warning.phpt7 '+5 hours noon',
29 DateMalformedIntervalStringException: String '+5 hours noon' contains non-relative elements
36 Warning: date_interval_create_from_date_string(): String '+5 hours noon' contains non-relative elem…
H A Dgmdate_variation10.phpt19 echo "\n-- Testing gmdate() function with difference to GMT in hours format --\n";
23 echo "\n-- Testing gmdate() function with Difference to GMT in hours using colon as separator forma…
47 -- Testing gmdate() function with difference to GMT in hours format --
51 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
H A Dgetdate_variation3.phpt36 ["hours"]=>
62 ["hours"]=>
88 ["hours"]=>
H A Dbug75167.phpt11 // Add five hours and subtract 5 hours. The $newDate should then equal the date.
H A D008.phpt20 ["hours"]=>
44 ["hours"]=>
H A Ddate_create-relative.phpt39 '10000000000 hours',
86 +10000000000 hours: 1142802-09-30T04:00:00+0000
87 -10000000000 hours: -1138787-07-28T20:00:00+0000
H A Dgetdate_basic.phpt27 ["hours"]=>
51 ["hours"]=>
H A Dbug36510.phpt9 var_dump(strtotime("-2 hours", $t));
H A Dbug28088.phpt2 Bug #28088 (strtotime() cannot convert 00 hours")
H A Ddate_modify_basic1.phpt16 date_modify($datetime, "+1 week 2 days 4 hours 2 seconds");
H A DDateTime_modify_basic1.phpt16 $datetime->modify("+1 week 2 days 4 hours 2 seconds");
/PHP-8.2/ext/date/lib/
H A Dunixtime2tm.c60 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() local
67 hours = remainder / 3600; in timelib_unixtime2gmt()
68 minutes = (remainder - hours * 3600) / 60; in timelib_unixtime2gmt()
70 TIMELIB_DEBUG(printf(" hour=%lld, minute=%lld, second=%lld\n", hours, minutes, seconds);); in timelib_unixtime2gmt()
72 tm->h = hours; in timelib_unixtime2gmt()
H A Dparse_posix.c163 int hours = 0; in read_offset() local
170 hours = read_number(ptr); in read_offset()
171 if (hours == TIMELIB_UNSET) { in read_offset()
172 return hours; in read_offset()
199 return -1 * bias * (hours * 3600 + minutes * 60 + seconds); in read_offset()
/PHP-8.2/ext/intl/common/
H A Dcommon_date.cpp56 hours = offset_mins / 60, in timezone_convert_datetimezone() local
57 minutes = offset_mins - hours * 60; in timezone_convert_datetimezone()
71 hours, minutes); in timezone_convert_datetimezone()
/PHP-8.2/tests/lang/
H A D023.phpt18 $hours = $time_left/3600;
19 $time_left -= $hours*3600;
21 …_date=date("l, F dS, Y",$wedding_timestamp)).",\nwhich is $days days, $hours hours and $minutes mi…
/PHP-8.2/ext/calendar/tests/
H A Dunixtojd.phpt29 // unixtojd() calls php_localtime_r() which for Pacific timezone systems, returns a time -8 hours

Completed in 44 milliseconds

12