How to add one day in current date using php

Here is the solution to add days to the current date or desired date using PHP. many project need this type speciality suppose, user subscribe account in 2 days. You may also like How to Convert date format yyyy-mm-dd => dd-mm-yyyy using PHP and Two date get hour and minute using php

PHP Code

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

Leave a Reply

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