Home
last modified time | relevance | path

Searched refs:days (Results 51 – 75 of 121) sorted by relevance

12345

/PHP-8.2/ext/date/lib/
H A Dinterval.c96 rt->days = timelib_diff_days(one, two); in timelib_diff_with_tzid()
173 rt->days = timelib_diff_days(one, two); in timelib_diff()
183 int days = 0; in timelib_diff_days() local
199 days = llabs(timelib_epoch_days_from_time(one) - timelib_epoch_days_from_time(two)); in timelib_diff_days()
200 if (latest_time < earliest_time && days > 0) { in timelib_diff_days()
201 days--; in timelib_diff_days()
204 days = fabs(floor(one->sse - two->sse) / 86400); in timelib_diff_days()
207 return days; in timelib_diff_days()
H A Dparse_posix.c265 tmp->days = read_number(ptr); in read_transition_spec()
266 if (tmp->days == TIMELIB_UNSET) { in read_transition_spec()
421 timelib_sll value = (psi->days - 1); in calc_transition()
423 if (leap_year && psi->days >= 60) { in calc_transition()
431 return psi->days * SECS_PER_DAY; in calc_transition()
/PHP-8.2/ext/date/tests/
H A Dbug74274.phpt22 [days] => 1
H A Dbug74524.phpt24 [days] => 227
H A Dgh8730.phpt20 [days] => 0
H A Dbug76032.phpt2 Bug #76032 (DateTime->diff having issues with leap days for timezones ahead of UTC)
H A Dbug78452.phpt28 ["days"]=>
H A Dbug45682.phpt33 ["days"]=>
H A Dbug53437_var0.phpt70 ["days"]=>
121 ["days"]=>
H A Dgmdate_variation6.phpt27 echo "\n-- Testing gmdate() function with number of days in a month format --\n";
51 -- Testing gmdate() function with number of days in a month format --
H A Dbug66545.phpt29 [days] => 14
H A DDateTime_days-dates.phpt2 DateTime::diff() days -- dates
H A Dbug52454.phpt8 $endOfWeek->modify('this week +6 days');
H A Dbug52738.phpt33 [days] =>
H A Dbug71700.phpt32 ["days"]=>
H A Dbug49778.phpt28 ["days"]=>
H A DDateTime_days-spring-type2-type2.phpt2 DateTime::diff() days -- spring type2 type2
H A DDateTime_days-spring-type2-type3.phpt2 DateTime::diff() days -- spring type2 type3
H A DDateTime_days-spring-type3-type2.phpt2 DateTime::diff() days -- spring type3 type2
H A DDateTime_days-spring-type3-type3.phpt2 DateTime::diff() days -- spring type3 type3
H A Ddate_interval_create_from_date_string.phpt11 $string = '2 weeks'; //14 days
H A Ddate_diff1.phpt48 ["days"]=>
/PHP-8.2/ext/standard/tests/serialize/
H A Dbug69425.phpt46 ["days"]=>
/PHP-8.2/Zend/tests/
H A Dbug70121.phpt5 unserialize('O:12:"DateInterval":1:{s:4:"days";O:9:"Exception":7:{s:10:"'."\0".'*'."\0".'message";s…
/PHP-8.2/.github/workflows/
H A Dclose-needs-feedback.yml17 days-before-close: 14

Completed in 24 milliseconds

12345