Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: Looping Dat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 1442 of 1490
Post > Topic >>

Re: Looping Dates.

by myklass@[EMAIL PROTECTED] (Aruna Goke) Jan 19, 2008 at 08:05 AM

sara.samsara@[EMAIL PROTECTED]
 wrote:
> 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.
> 
> 
check cpan to see modules that can do that

http://search.cpan.org/search?query=date&mode=all

goksie
 




 6 Posts in Topic:
Looping Dates.
sara.samsara@[EMAIL PROTE  2008-01-19 11:39:34 
Re: Looping Dates.
myklass@[EMAIL PROTECTED]  2008-01-19 08:05:14 
RE: Looping Dates.
captduck@[EMAIL PROTECTED  2008-01-19 02:19:27 
Re: Looping Dates.
rcook@[EMAIL PROTECTED]   2008-01-19 18:58:44 
Re: Looping Dates.
noreply@[EMAIL PROTECTED]  2008-01-19 09:22:26 
Re: Looping Dates.
Justin.Warwick@[EMAIL PRO  2008-01-25 10:57:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 11:10:34 CDT 2008.