There's more than one way to do things | |
PerlMonks |
Re: Gettting the last Friday of every month using Time::Pieceby gurpreetsingh13 (Scribe) |
on Jul 01, 2014 at 10:02 UTC ( [id://1091819]=note: print w/replies, xml ) | Need Help?? |
Please check if this works for you. Simple solution to work for each month in reverse direction. Output: Fri Jan 31 00:00:00 2014 Fri Feb 28 00:00:00 2014 Fri Mar 28 00:00:00 2014 Fri Apr 25 00:00:00 2014 Fri May 30 00:00:00 2014 Fri Jun 27 00:00:00 2014 Fri Jul 25 00:00:00 2014 Fri Aug 29 00:00:00 2014 Fri Sep 26 00:00:00 2014 Fri Oct 31 00:00:00 2014 Fri Nov 28 00:00:00 2014 Fri Dec 26 00:00:00 2014
In Section
Seekers of Perl Wisdom
|
|