I have a variable for example:
$start_date = '2002-02-19';
I want to print out the next 10 days of $start_date, does any one know how to do this??
Thanks.
Gary
Realizing, of course, there's more than one way....
Using the calendar functions:
$jd = GregoriantoJD (2, 19, 2002);
for ( $i=0; $i<10; $i++) { $jd+=1; $next_date = JDToGregorian($jd); // print your date or store it in an array
}