0

date_default_timezone_set('Asia/Kolkata');
$minutes_to_add = 1;
$time_up = new DateTime('2022-12-20 09:31:00');
$time_up->add(new DateInterval('PT' . $minutes_to_add . 'M'));
$stamp_up = $time_up->format('Y-m-d H:i:s');
echo $stamp_up;

Jagdish Sarma Asked question December 20, 2022
Add a Comment