Answers for "add a dateinterval to a datetime"

PHP
1

add 1 day php datetime

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

Code answers related to "add a dateinterval to a datetime"

Browse Popular Code Answers by Language