Answers for "php am pm"

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

Browse Popular Code Answers by Language