Re: Date question

2001-07-18 Thread Jerry Preston
Anna, There might be some help at http://theoryx5.uwinnipeg.ca/CPAN/data/Date-Calc/Calc.html Jerry [EMAIL PROTECTED] wrote: > > I know this might be easy but since I'm still learning > > Is there a easy way to have perl generate information to find out what the 3rd >friday is for each m

Re: Date question

2001-07-18 Thread Michael Fowler
On Wed, Jul 18, 2001 at 12:32:21PM -0400, [EMAIL PROTECTED] wrote: > Is there a easy way to have perl generate information to find out what the > 3rd friday is for each month? I have been looking at some cpan modules > and none of them seem to do what I need. Date::Calc has a subroutine, Nth_Wee

RE: Date question

2001-07-18 Thread Brian
Best I can think is maybe using the Date::Manip module in a foreach or while loop to test each day and see if it is the 3rd week, and if indeed the day is a Friday. This would be kind of slow since you would have a lot of days to go through, but it would work. http://search.cpan.org/search?dist=