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

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c3504 int yearday; local
3562 * tm_yday, we work with the normalised year and get a new yearday value for
3563 * January 1st, which we subtract from the yearday value we had earlier,
3573 * same rules we used to build the yearday, you'll only get strange results
3599 yearday = DAYS_PER_YEAR * year + year/4 - year/100 + year/400;
3600 yearday += month*MONTH_TO_DAYS + mday + jday;
3620 yearday += (secs/SECS_PER_DAY)-1;
3624 yearday += (secs/SECS_PER_DAY);
3629 yearday += (secs/SECS_PER_DAY);
3639 * The algorithm for yearday ha
[all...]

Completed in 95 milliseconds