Answers for "laravel form in 24 hours format"

PHP
0

laravel form in 24 hours format

// 24-hour time to 12-hour time 
$time_in_12_hour_format  = date("g:i a", strtotime("13:30"));

// 12-hour time to 24-hour time 
$time_in_24_hour_format  = date("H:i", strtotime("1:30 PM"));
Posted by: Guest on December-11-2020

Code answers related to "laravel form in 24 hours format"

Browse Popular Code Answers by Language