PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm trying to figure out how I can add 1-Month on to a "2008-05-09" style date. But I am converting that date to a Unix Timestamp first by doing the following:
$capturedDate = '2008-06-20';
$endDate = strtotime($capturedDate);
// Now I need to add 1 Month onto $endDate.
Anyone know how I can add 1-month onto $endDate using PHP? I've been looking high and low in the PHP manual under date/time functions, but can't find anything that will do it with a unix timestamp. Thanks for any help.