Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Counting number of a particular day of the month.by cjf (Parson) |
on May 31, 2002 at 20:23 UTC ( [id://170824]=note: print w/replies, xml ) | Need Help?? |
Date::Calc will do the job:
Check the docs for many more useful functions. Update: Note to self, finish reading question before answering :) You should take a look at the Day_of_Week() function, using that and the number of days in the month you can loop over the month and calculate the number of the days you're looking for. It isn't pretty, but it should do.
In Section
Seekers of Perl Wisdom
|
|