Lines Matching defs:day
171 * HTTP date routines, dow[] for day of the week, Dow[] for day of the
172 * week for the Unix epoch (i.e. day 0 is a Thu), months[] for the months
173 * of the year, and dom[] for day number of the year for the first day
219 ssize_t day;
224 /* Parse and skip day-of-week (we don't use it) */
264 /* Get day of the month */
278 day = n;
279 /* Get day/month/year seperator */
463 /* Get day of the month */
477 day = n;
574 /* Last, caclulate seconds since Unix day zero */
579 secs = ((((year - 1970) * 365 + dom[month] + day - 1 + leap) * 24
602 ssize_t day;
621 day = 366;
623 day = 365;
624 if (now < day)
626 now -= day;
643 day = now - dom[i] - leap;
652 i = day / 10;
654 *cp++ = '0' + (day - i * 10);