Hi,
I have a simple problem I need help with.
I pass 2 dates to a script like this:
$date1 = "2004-01"
$date2 = "2004-07";
(the above is YYYY-MM)
I need to use each of these dates, and the months in between in a number of queries.
How can I get every month between these 2 dates
ie: what I am looking for is this
date:
2004-01
2004-02
2004-03
2004-04
2004-05
2004-06
2004-07
Thanks,
Martin