Answers for "php date format hour minute second 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

Code answers related to "php date format hour minute second am pm"

Browse Popular Code Answers by Language