How to add one month in current date using PHP

Here is the solution to add month to the current date or desired date using PHP. many project need this type speciality suppose, user subscribe account in 1 month.

PHP Code

<?php
    echo date('Y-m-d', strtotime(' + 1 month')); 
?>

Leave a Reply

Your email address will not be published. Required fields are marked *