/PHP-5.3/ext/date/tests/ |
H A D | bug27780.phpt | 16 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds", 19 "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] 73 1083103200 [2004-04-28 00:00:00 CEST] [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] 88 1083099600 [2004-04-28 00:00:00 IDT] [2004-04-07 00:00:00 +21 days] [all …]
|
H A D | date_create-relative.phpt | 17 '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 D | strtotime-relative.phpt | 18 // 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 D | bug49059.phpt | 13 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 D | bug52113.phpt | 27 'days' => 2400, 56 ["days"]=> 67 …"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_… 79 'days' => 0, 105 ["days"]=> 152 ["days"]=> 189 ["days"]=> 236 ["days"]=>
|
H A D | bug33869.phpt | 2 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 D | bug49081.phpt | 2 Bug #49081 (DateTime::diff() mistake if start in January and interval > 28 days) 24 [days] => 30
|
H A D | bug48678.phpt | 22 [days] => 40 [days] => 0
|
H A D | bug35624.phpt | 7 $days = array("monday","mon","tuesday","tue","wednesday","wed","thursday","thu","friday","fri","sat… 9 foreach ($days as $day) {
|
H A D | bug52808.phpt | 49 ["days"]=> 81 ["days"]=> 113 ["days"]=>
|
H A D | bug53437_var2.phpt | 37 ["days"]=> 69 ["days"]=>
|
H A D | bug53437_var4.phpt | 19 $df->days); 45 ["days"]=>
|
H A D | bug53437_var3.phpt | 7 …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… 36 ["days"]=>
|
H A D | bug53437_var5.phpt | 7 …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… 36 ["days"]=>
|
H A D | DateTime_data-dates.inc | 12 * Particular days 41 * Particular days, negative
|
H A D | bug37368.phpt | 6 echo date("r", strtotime("Mon, 08 May 2006 13:06:44 -0400 +30 days"));
|
H A D | DateTime_days-absolute.phpt | 2 DateTime::diff() days -- absolute
|
H A D | DateTime_days-massive.phpt | 2 DateTime::diff() days -- massive
|
H A D | examine_diff.inc | 4 * Helper for the DateTime diff/days/math tests 29 * @param int $expect_days the number of days to compare with the 30 * interval's "days" property
|
H A D | bug33414-2.phpt | 2 Bug #33414 [2] (Comprehensive list of incorrect days returned after strotime() / date() tests) 29 print "TZ=Pacific/Enderbury - wrong day, off by 2 days.\n"; 37 print "TZ=Pacific/Kiritimati - wrong day, off by 2 days.\n"; 93 TZ=Pacific/Enderbury - wrong day, off by 2 days. 98 TZ=Pacific/Kiritimati - wrong day, off by 2 days.
|
H A D | bug53437.phpt | 75 ["days"]=> 134 ["days"]=>
|
H A D | bug52454.phpt | 8 $endOfWeek->modify('this week +6 days');
|
/PHP-5.3/ext/calendar/tests/ |
H A D | cal_days_in_month.phpt | 8 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-5.3/ext/fileinfo/libmagic/ |
H A D | cdf_time.c | 54 int days = 0; in cdf_getdays() local 58 days += isleap(y) + 365; in cdf_getdays() 60 return days; in cdf_getdays() 67 cdf_getday(int year, int days) in cdf_getday() argument 73 if (days < sub) in cdf_getday() 74 return days; in cdf_getday() 75 days -= sub; in cdf_getday() 77 return days; in cdf_getday() 89 days -= mdays[m]; in cdf_getmonth() 91 days--; in cdf_getmonth() [all …]
|
/PHP-5.3/ext/date/lib/ |
H A D | unixtime2tm.c | 42 timelib_sll days, remainder, tmp_days; in timelib_unixtime2gmt() local 48 days = ts / SECS_PER_DAY; in timelib_unixtime2gmt() 49 remainder = ts - (days * SECS_PER_DAY); in timelib_unixtime2gmt() 51 days++; in timelib_unixtime2gmt() 54 TIMELIB_DEBUG(printf("days=%lld, rem=%lld\n", days, remainder);); in timelib_unixtime2gmt() 57 tmp_days = days + 1; in timelib_unixtime2gmt() 73 tmp_days = days; in timelib_unixtime2gmt()
|