I have a date in php using the date function
$date = date('Y-m-d');
I need to add certain number of days to the following month to show a deadline.
eg: if someone adds a job today with a 5 days
, 2014-08-04
the deadline should be 2014-09-06
I was planning to get the current month using the date function and increment the value by 1 to go to the next month and then add the number of days to the day in the date function.
This looks lengthy and not that right
Can someone tell me What would be the best way to achieve this?