in reply to Re: How Many Mondays in Date Range?
in thread How Many Mondays in Date Range?
In this, I am getting the answer I expect. As I said before, I'm using Date::Manip, which is why I'm using 1..7. But I can +/- 1 as necessary, though I do need to make Monday 0 and Sunday 6. I like the one liner, since this is going to be put into an ASP, that helps.
Though you solution does require it step through the date range. That can be annoying for very large date ranges.
-Travis
|
|---|