Alternately, you could just precalculate the number of days in each year into an array (with 1900 in index 0, 1901 in index 1), then convert the month/day into number of days since Jan 1st of the current year. Of course, that assumes you know how to calculate the number of days in a year. You do know how to do that, right?
In reply to Re: subroutine for calculating day since 1900 needed
by dragonchild
in thread subroutine for calculating day since 1900 needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |