I am using date in database which gives me: 2007-01-13 Year Month Day
How can I use that variable which is $datesignedup
and figure out 3 months from that date, what that date will be.
MySQL Date Functions using interval
Here is what I did. I decided to do it at time of insert.
$tr_time = strtotime("+90 days"); $tr_date = date("Y-m-d", $tr_time); //the new variable would be $tr_date that I would use to insert into database.
Thanks