Skip to content

All topics  /  PHP

How to Add Days to Current Date in PHP ?

PHP ·

Hi Guys,

In this example,I will learn you add day to current date in php.you can easy and simply add day to current date in php.

we will show add day in current date php.this tutorial will give you example of add day to current date using php.

Example :


<?php
    // add 1 days to date
    $NewDate=Date('d:m:Y', strtotime('+1 days'));
    echo($NewDate);
?>

Output:

18:12:2020

It will help you...