Page 1 of 1

displaying dates between two date range

Posted: Mon Sep 08, 2008 5:27 am
by pez
Hi,

I'd like to display all the dates between two date range.

For example:

from: 2008-01-01 To: 2008-03-30

I want the code to display:

2008-01-01
2008-01-02
2008-01-03
2008-01-04
...
...
....
...
2008-03-29
2008-03-30


Thanks

Re: displaying dates between two date range

Posted: Mon Sep 08, 2008 6:11 am
by onion2k
This forum is not a resource where you can just ask for things to be written and expect something decent to be posted. We are not here to do work for nothing. We'll happily help you fix any problems, or help you if you're stuck, but that doesn't go as far as writing the entire code.

Think of it like this - we will match the effort you put in. If you put no effort into your code then neither will we. If you put a lot of effort into finding a solution then so will we. That way everyone is happy.

So if you want some help, post what code you've written so far, or at least what ideas you've had as you've researched the problem, and we'll take it from there.

Re: displaying dates between two date range

Posted: Mon Sep 08, 2008 6:13 am
by pez
I figured it out.

Thanks for nothing.