<?php
$date = "2022-08-12";
// Add days to date and display it
echo date('Y-m-d', strtotime($date. ' +10 days')); // 2022-08-22
echo date('Y-m-d', strtotime(date('Y-m-d'). ' +1 days')); // 2022-08-23
echo date('Y-m-d', strtotime(date('Y-m-d'). ' +1 months')); // 2022-09-12
echo date('Y-m-d', strtotime(date('Y-m-d'). ' +1 year')); // 2023-08-12
?>
$date = "Mar 03, 2011";
$date = strtotime($date);
$date = strtotime("+7 day", $date);
echo date('M d, Y', $date);
<?php
$result = date('d.m.Y', strtotime('+2 day', time()));
echo $result;
?>
$start_date = "2015/03/02";
$date = strtotime($start_date);
$date = strtotime("+7 day", $date);
echo date('Y/m/d', $date);
<?php
$result = date('d.m.Y', strtotime('+7 day', time()));
echo $result;
?>
<?php
$result = date('d.m.Y', strtotime('+5 day', time()));
echo $result;
?>