Re: Find first day of every week in a month
- From: merlyn@xxxxxxxxxxxxxx (Randal L. Schwartz)
- Date: 29 Aug 2005 07:52:23 -0700
>>>>> "Anil" == Anil Kumar <anilm@xxxxxx> writes:
Anil> I am new to perl and working for a small project...
Anil> I need some help from you..
Anil> How to get all the first days of a week in a month.
Using the bloated "Date::Manip":
use Date::Manip;
my @dates = ParseRecur("every sunday in aug 2005");
print UnixDate($_, "%b %e, %Y\n") for @dates;
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
.
- References:
- Find first day of every week in a month
- From: Anil Kumar
- Find first day of every week in a month
- Prev by Date: @INC
- Next by Date: Re: encrypt the password stored in a file
- Previous by thread: Re: Find first day of every week in a month
- Next by thread: RE: Find first day of every week in a month
- Index(es):
Relevant Pages
|