Answers for "convert 12 hours to 24 hours in php"

PHP
0

convert am pm time to 24 hour in php

echo date("H:i:s", strtotime("04:25 PM"));
Posted by: Guest on September-07-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

Code answers related to "convert 12 hours to 24 hours in php"

Browse Popular Code Answers by Language