RE: Looping Dates.

[email protected] ("Duck McDonald")
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
Sara,
I'm just a novice, but there is come code and info which may help (using the
perl module: date::range) at:
http://search.cpan.org/~tmtm/Date-Range-1.40/lib/Date/Range.pm

HTH,
"Duck" McDonald

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Saturday, January 19, 2008 1:40 AM
To: [email protected]
Subject: Looping Dates.
Importance: High


I am stuck here, I want to get list of dates in a certain range. Like: Start
Date: 2007-01-03 to End Date: 2007-05-30

I am pointless here as what should I do in order to get all dates between
start and end? Is there any for, foreach loop or other method? that will
generate a list of dates:

2007-01-03
2007-01-04
2007-01-05
2007-01-06
2007-01-07
.............. and so on to
2007-05-30

Any ideas will be appreciated.

Thanks,
Sara.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.4 - Release Date: 1/15/2008 12:00
AM

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.4 - Release Date: 1/15/2008 12:00
AM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.