Answers for "php create a function that receive time in 12 hour format (am/pm), then convert it to 24 hour format, then print the result."

PHP
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 "php create a function that receive time in 12 hour format (am/pm), then convert it to 24 hour format, then print the result."

Browse Popular Code Answers by Language