Answers for "date time format 12 hour am pm php"

PHP
2

php time format am pm

$currentDateTime = '08/04/2010 22:15:00';
$newDateTime = date('h:i A', strtotime($currentDateTime));
Posted by: Guest on March-25-2020

Code answers related to "date time format 12 hour am pm php"

Browse Popular Code Answers by Language