How To Add Minutes To Current Date In Php?

Admin   PHP   136  2021-03-18 07:40:05

Hi Guys,

In this example,I will learn you add minutes to current date in php.you can easy and simply add minutes to current date in php.

we will show add minutes in current date php.this tutorial will give you example of add minutes to current date using php.

Example:

 

<?php

//Add 5 Minutes in curent date and time

$date = date('d-m-Y H:i', strtotime("+5 min"));

echo ($date);

?>

Output:

 

21-12-2020 10:48

It will help you...