Home
last modified time | relevance | path

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

/PHP-8.2/ext/date/lib/
H A Dunixtime2tm.c32 timelib_ull day_of_era, year_of_era, day_of_year, month_portion; in timelib_unixtime2date() local
48 month_portion = (5 * day_of_year + 2) / 153; in timelib_unixtime2date()
49 *d = day_of_year - (153 * month_portion + 2) / 5 + 1; in timelib_unixtime2date()
50 *m = month_portion + (month_portion < 10 ? 3 : -9); in timelib_unixtime2date()

Completed in 9 milliseconds