Lines Matching refs:SECSPERDAY
66 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY)
147 ** add SECSPERDAY times the day number-1 to the time of
150 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
152 value += SECSPERDAY;
158 ** Just add SECSPERDAY times the day number to the time of
161 value = janfirst + rulep->r_day * SECSPERDAY;
171 value += mon_lengths[leapyear][i] * SECSPERDAY;
173 value += yr_days[leapyear][rulep->r_mon - 1] * SECSPERDAY;
205 value += d * SECSPERDAY;
253 janfirst += year_lengths[leap(year)] * SECSPERDAY;
531 long days = *when / SECSPERDAY;
532 long secs = *when % SECSPERDAY;
808 return (time_t)(SECSPERDAY * (unsigned long)(unsigned)days +