Page 1 of 1

and all in between

Posted: Thu Mar 30, 2006 9:37 pm
by imatrox05
Hi,

I need to display all the calendar dates between 2 given dates.

Example if the MIN Date is 1st march and Max Date is 22nd March

I want all the dates from 1 through 22 to be displayed.

How can i get this done?.

Posted: Thu Mar 30, 2006 10:24 pm
by feyd
A simple loop that iterates days from the starting point until the end. This will often use strtotime() and of course date()