Answers for "add one date php"

PHP
1

date add one day php

$created_at=date('Y-m-d H:i:s', strtotime(date("Y-m-d H:i:s") . ' +1 day'));
Posted by: Guest on March-17-2021
1

add 1 day php datetime

$date = new DateTime('2000-01-01');
$date->add(new DateInterval('P1D'));
Posted by: Guest on November-04-2020

Browse Popular Code Answers by Language