Home
last modified time | relevance | path

Searched refs:months (Results 1 – 11 of 11) sorted by relevance

/PHP-7.1/ext/date/tests/
H A Dstrtotime-relative.phpt25 // offset around 6 months
33 '115 months',
34 '119 months',
35 '120 months',
36 '121 months',
37 '128 months',
83 +115 months: 2017-09-28T12:00:00+0000
84 -115 months: 1998-07-28T12:00:00+0000
85 +119 months: 2018-01-28T12:00:00+0000
86 -119 months: 1998-03-28T12:00:00+0000
[all …]
H A Dbug27780.phpt16 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds",
17 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds",
18 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds",
46 1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
47 1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
48 1076824801 [2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
61 1076799599 [2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
62 1076799600 [2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
63 1076799601 [2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +…
91 1076774399 [2004-02-14 23:59:59 %s] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +5…
[all …]
H A Ddate_create-relative.phpt41 '10000000000 months',
90 +10000000000 months: 833335341-06-28T12:00:00+0000
91 -10000000000 months: -833331326-10-28T12:00:00+0000
H A Dbug29595.phpt2 Bug #29595 (Roman number format for months)
H A Dbug29150.phpt2 Bug #29150 (Roman number format for months)
H A Ddate_interval_create_from_date_string.phpt15 $string = '3 months';
H A Ddate_time_fractions.phpt19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n";
/PHP-7.1/ext/calendar/tests/
H A Dcal_info.phpt18 [months] => Array
57 [months] => Array
96 [months] => Array
137 [months] => Array
179 [months] => Array
/PHP-7.1/ext/date/lib/
H A Dunixtime2tm.c50 int *months; in timelib_unixtime2gmt() local
107 months = timelib_is_leap(cur_year) ? month_tab_leap : month_tab; in timelib_unixtime2gmt()
113 TIMELIB_DEBUG(printf("month=%lld (%d)\n", i, months[i]);); in timelib_unixtime2gmt()
114 if (tmp_days > months[i]) { in timelib_unixtime2gmt()
119 …rintf("A: ts=%lld, year=%lld, month=%lld, day=%lld,", ts, cur_year, i + 1, tmp_days - months[i]);); in timelib_unixtime2gmt()
129 tm->d = tmp_days - months[i]; in timelib_unixtime2gmt()
H A Dparse_date.re225 { "months", TIMELIB_MONTH, 1 },
/PHP-7.1/ext/calendar/
H A Dcalendar.c267 zval months, smonths; in _php_cal_info() local
274 array_init(&months); in _php_cal_info()
278 add_index_string(&months, i, calendar->month_name_long[i]); in _php_cal_info()
282 add_assoc_zval(ret, "months", &months); in _php_cal_info()

Completed in 18 milliseconds