Searched refs:SECS_PER_DAY (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c83 #define SECS_PER_DAY ((u_int32_t)24*60*60) macro
89 result += (time.tm_mday - 1) * SECS_PER_DAY; /*%< Days */
94 result += mdays * SECS_PER_DAY; /*%< Months */
96 result += SECS_PER_DAY; /*%< Add leapday for this year */
99 result += (time.tm_year - 70) * (SECS_PER_DAY*365); /*%< Years */
102 result += SECS_PER_DAY; /*%< Add leapday for prev year */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c3514 #define SECS_PER_DAY (24*SECS_PER_HOUR) macro
3617 if (secs-(secs/SECS_PER_DAY*SECS_PER_DAY) < 0) {
3620 yearday += (secs/SECS_PER_DAY)-1;
3621 secs -= SECS_PER_DAY * (secs/SECS_PER_DAY - 1);
3624 yearday += (secs/SECS_PER_DAY);
3625 secs -= SECS_PER_DAY * (secs/SECS_PER_DAY);
3628 else if (secs >= SECS_PER_DAY) {
[all...]

Completed in 31 milliseconds