Hi!
I want to be able to loop between two dates. Say the two date are 2006/01/01 and 2006/02/01. What I want is to be able to access each day in the range so I can pass that day, and the day before it into a function. Hmm that doesn't make sense...
My function is defined as follows:
ychwaneguData($startDate, $endDate)
so my function calls with the above range should be:
ychwaneguData("01/01/2006", "02/01/2006");
ychwaneguData("02/01/2006", "03/01/2006");
ychwaneguData("03/01/2006", "04/01/2006");
Assuming a DD/MM/YYYY format.
Hope that makes sense! Thanks in advance.
I want to be able to loop between two dates. Say the two date are 2006/01/01 and 2006/02/01. What I want is to be able to access each day in the range so I can pass that day, and the day before it into a function. Hmm that doesn't make sense...
My function is defined as follows:
ychwaneguData($startDate, $endDate)
so my function calls with the above range should be:
ychwaneguData("01/01/2006", "02/01/2006");
ychwaneguData("02/01/2006", "03/01/2006");
ychwaneguData("03/01/2006", "04/01/2006");
Assuming a DD/MM/YYYY format.
Hope that makes sense! Thanks in advance.