BTW: this takes monday as 1, sunday as 7 but outputs a seven elemet array going from monday to sunday... I'm not sure if that is what you wanted, but it seemed like it was$daycounts[($firstday+$_-1)%7] = int(($days+6-$_)/7) for(0..6);
- Ant
In reply to Re: How Many Mondays in Date Range?
by suaveant
in thread How Many Mondays in Date Range?
by THuG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |