Source Code:
(back to article)
<?php $date = new DateTime('2023-03-03'); $interval = date_interval_create_from_date_string('1 day'); $date->add($interval); echo $date->format('Y-m-d');
Result:
Report an issue