calvinmicklefinger - 8:13 pm on Jun 13, 2012 (gmt 0)
I have a date variable stored in a MySQL database that is formatted as "2012-06-13." I want to use PHP to calculate three days into the future. I have tried experimenting with functions and formulas I found in the manual, but I seem to be missing something. They all break the code on my page.
Can someone please help me calculate the future date using these two variables?
$KWcurrentDate = "2012-6-13" ;
$KWdateDifference = "3" ;
(Not sure whether the quotes were neded or not, so I put them in.)
Any help would be appreciated.