Home
last modified time | relevance | path

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

/PHP-7.1/ext/date/lib/
H A Dunixtime2tm.c52 days = ts / SECS_PER_DAY; in timelib_unixtime2gmt()
53 remainder = ts - (days * SECS_PER_DAY); in timelib_unixtime2gmt()
56 remainder -= SECS_PER_DAY; in timelib_unixtime2gmt()
103 remainder += SECS_PER_DAY; in timelib_unixtime2gmt()
H A Dtm2unixtime.c355 res += (DAYS_PER_LYEAR * SECS_PER_DAY); in do_years()
357 res += (DAYS_PER_YEAR * SECS_PER_DAY); in do_years()
363 res -= (DAYS_PER_LYEAR * SECS_PER_DAY); in do_years()
365 res -= (DAYS_PER_YEAR * SECS_PER_DAY); in do_years()
375 return ((month_tab_leap[month - 1] + 1) * SECS_PER_DAY); in do_months()
377 return ((month_tab[month - 1]) * SECS_PER_DAY); in do_months()
383 return ((day - 1) * SECS_PER_DAY); in do_days()
H A Dtimelib_structs.h305 #define SECS_PER_DAY 86400 macro

Completed in 8 milliseconds