Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 91) sorted by relevance

1234

/PHP-7.4/ext/date/tests/
H A Dbug27780.phpt19 "2004-04-07 00:00:00 -21 days",
20 "2004-04-07 00:00:00 11 days ago",
28 "2004-04-07 00:00:00 +21 days",
49 1079503200 [2004-03-17 00:00:00 CST] [2004-04-07 00:00:00 -21 days]
58 1083128400 [2004-04-28 00:00:00 CDT] [2004-04-07 00:00:00 +21 days]
64 1079478000 [2004-03-17 00:00:00 CET] [2004-04-07 00:00:00 -21 days]
79 1079474400 [2004-03-17 00:00:00 IST] [2004-04-07 00:00:00 -21 days]
94 1079452800 [2004-03-17 00:00:00 %s] [2004-04-07 00:00:00 -21 days]
103 1083081600 [2004-04-28 00:00:00 %s] [2004-04-07 00:00:00 +21 days]
109 1079492400 [2004-03-17 00:00:00 %s] [2004-04-07 00:00:00 -21 days]
[all …]
H A Ddate_create-relative.phpt17 '1460000 days',
18 '1460969 days',
19 '1460970 days',
20 '1460971 days',
21 '1462970 days',
40 '10000000000 days',
54 +1460000 days: 6005-07-03T12:00:00+0000
56 +1460969 days: 6008-02-27T12:00:00+0000
58 +1460970 days: 6008-02-28T12:00:00+0000
60 +1460971 days: 6008-02-29T12:00:00+0000
[all …]
H A Dstrtotime-relative.phpt18 // offset around 7 days
26 '178 days',
27 '179 days',
28 '180 days',
29 '183 days',
30 '184 days',
73 +178 days: 2008-08-24T12:00:00+0000
74 -178 days: 2007-09-03T12:00:00+0000
75 +179 days: 2008-08-25T12:00:00+0000
76 -179 days: 2007-09-02T12:00:00+0000
[all …]
H A Dbug49059.phpt13 print "\$diff->days after first diff: " . $diff->days . "\n";
19 print "\$diff->days after second diff: " . $diff->days . "\n";
23 print "\$diff->days after third diff: " . $diff->days . "\n";
29 $diff->days after first diff: 26
32 $diff->days after second diff: 24
34 $diff->days after third diff: 24
H A Ddate_interval_format.phpt11 echo date_interval_format($interval, '%d days');
16 echo date_interval_format($interval, '%d days');
20 4 days
21 32 days
H A Dbug33869.phpt2 Bug #33869 (strtotime() doesn't parse "+1days" format)
7 echo date(DATE_ISO8601, strtotime('+5days', $tm));
13 echo date(DATE_ISO8601, strtotime('+5 days', $tm));
H A DDateInterval_days_prop1.phpt2 Wrong var_dump(DateInterval->days) value
8 var_dump($interval->days);
H A Dbug52113.phpt28 'days' => 2400,
59 ["days"]=>
70 …"weekday_behavior";i:0;s:17:"first_last_day_of";i:0;s:6:"invert";i:0;s:4:"days";i:0;s:12:"special_…
83 'days' => 0,
111 ["days"]=>
160 ["days"]=>
199 ["days"]=>
248 ["days"]=>
H A Dbug52480.phpt11 // number of days between the start and end dates. Otherwise, days will be FALSE.
13 $expectedDiff['days'] = 30;
H A Dbug70153.phpt7 var_dump($i1->days, $i2->days);
H A Dbug49081.phpt2 Bug #49081 (DateTime::diff() mistake if start in January and interval > 28 days)
25 [days] => 30
H A Dbug48678.phpt23 [days] =>
42 [days] =>
H A Dbug73858.phpt16 var_dump($d->days); // 0 ... but should be 30
21 var_dump($d->days); // 30 ... and should be 30
30 var_dump($d->days); // 0 ... but should be 30
35 var_dump($d->days); // 30 ... and should be 30
44 var_dump($d->days); // 30 ... and should be 30
55 var_dump($e->diff($s)->days); // 30 ... and should be 30
H A Dbug35624.phpt7 $days = array("monday","mon","tuesday","tue","wednesday","wed","thursday","thu","friday","fri","sat…
9 foreach ($days as $day) {
H A Dbug73091.phpt12 var_dump(unserialize('O:12:"DateInterval":1:{s:4:"days";O:3:"foo":0:{}}'));
16 ["days"]=>
H A Dbug60774.phpt5 $i= DateInterval::createFromDateString('2 days');
34 ["days"]=>
H A Dbug62896.phpt14 $date->modify('+0 days');
23 $date->modify('+0 days');
31 $date->modify('+0 days');
H A Dbug53437_var2.phpt39 ["days"]=>
73 ["days"]=>
H A Dbug52808.phpt51 ["days"]=>
85 ["days"]=>
119 ["days"]=>
H A Dbug53437_var4.phpt20 $df->days);
48 ["days"]=>
H A Dbug79015.phpt5 …"weekday_behavior";i:0;s:17:"first_last_day_of";i:0;s:6:"invert";i:0;s:4:"days";b:0;s:12:"special_…
32 ["days"]=>
H A Dbug53437_var6.phpt7 …weekday_behavior";i:10;s:17:"first_last_day_of";i:0;s:6:"invert";i:0;s:4:"days";s:4:"aoeu";s:12:"s…
38 ["days"]=>
/PHP-7.4/ext/calendar/tests/
H A Dcal_days_in_month.phpt8 echo "There are $num days in August 2003\n";
10 echo "There are $num days in February 2003\n";
12 echo "There are $num days in February 2004\n";
14 echo "There are $num days in December 2034\n";
17 There are 31 days in August 2003
18 There are 28 days in February 2003
19 There are 29 days in February 2004
20 There are 31 days in December 2034
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcdf_time.c55 int days = 0; in cdf_getdays() local
59 days += isleap(y) + 365; in cdf_getdays()
61 return days; in cdf_getdays()
68 cdf_getday(int year, int days) in cdf_getday() argument
74 if (days < sub) in cdf_getday()
75 return days; in cdf_getday()
76 days -= sub; in cdf_getday()
78 return days; in cdf_getday()
90 days -= mdays[m]; in cdf_getmonth()
92 days--; in cdf_getmonth()
[all …]
/PHP-7.4/ext/date/lib/
H A Dunixtime2tm.c35 timelib_sll days, remainder, tmp_days; in timelib_unixtime2gmt() local
41 days = ts / SECS_PER_DAY; in timelib_unixtime2gmt()
42 remainder = ts - (days * SECS_PER_DAY); in timelib_unixtime2gmt()
44 days++; in timelib_unixtime2gmt()
47 TIMELIB_DEBUG(printf("days=%lld, rem=%lld\n", days, remainder);); in timelib_unixtime2gmt()
50 tmp_days = days + 1; in timelib_unixtime2gmt()
52 tmp_days = days; in timelib_unixtime2gmt()

Completed in 28 milliseconds

1234