Answers for "add 48 hours date in php"

PHP
1

php add hours to current date

$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
Posted by: Guest on April-26-2020
0

24 hours date format php

$test = 'Fri, 15 Jan 2016 15:14:10 +0800';
$t = date('Y-m-d H:i:s',strtotime($test));
echo $t;
#tamilarasan nallairusun
Posted by: Guest on October-11-2021

Browse Popular Code Answers by Language