Searched defs:days (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf_time.c49 * Return the number of days between jan 01 1601 and jan 01 of year.
54 int days = 0; local
58 days += isleap(y) + 365;
60 return days;
67 cdf_getday(int year, int days) argument
73 if (days < sub)
74 return days;
75 days -= sub;
77 return days;
84 cdf_getmonth(int year, int days) argument
[all...]
H A Dcdf.c1039 int days, hours, mins, secs; local
1048 days = (int)ts;
1050 if (days) {
1051 len += snprintf(buf + len, bufsiz - len, "%dd+", days);
1056 if (days || hours) {
/PHP_TRUNK/ext/date/lib/
H A Dtimelib_structs.h127 timelib_sll days; /* Contains the number of *days*, instead of Y-M-D differences */ member in struct:timelib_rel_time
209 /* 400*365 days + 97 leap days */
H A Dtm2unixtime.c65 timelib_sll days; local
73 printf( "S: Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days);
79 days = leapyear ? days_in_month_leap[month] : days_in_month[month];
81 /* printf( "I Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days); */
83 *d += days;
89 days = leapyear ? days_in_month_leap[month] : days_in_month[month];
91 /* printf( "I Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days); */
93 *d += days;
99 printf( "E: Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days);
H A Dunixtime2tm.c42 timelib_sll days, remainder, tmp_days; local
48 days = ts / SECS_PER_DAY;
49 remainder = ts - (days * SECS_PER_DAY);
51 days++;
54 TIMELIB_DEBUG(printf("days=%lld, rem=%lld\n", days, remainder););
57 tmp_days = days + 1;
73 tmp_days = days;

Completed in 8 milliseconds