Answers for "hot to minust minutes in a speciific date in php"

PHP
0

php date format minus 1 day

date('Y-m-d',(strtotime ( '-1 day' , strtotime ( $date) ) ));
Posted by: Guest on September-05-2021
0

php datetime sub minutes

$datetime = new DateTime();

//PT 'TIME' M
//PT30S -> 30 Seconds
//PT30M -> 30 Minutes
//PT30H -> 30 Hours
$datetime->sub(new DateInterval('PT12H30M'));
Posted by: Guest on May-26-2021
0

php subtract mins to datetime

$datetime_from = date("Y-m-d H:i", strtotime("-45 minutes", strtotime($thestime)));
Posted by: Guest on October-03-2021

Code answers related to "hot to minust minutes in a speciific date in php"

Browse Popular Code Answers by Language