Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php time format am pm

$currentDateTime = '08/04/2010 22:15:00';
$newDateTime = date('h:i A', strtotime($currentDateTime));
 
PREVIOUS NEXT
Tagged: #php #time #format #pm
ADD COMMENT
Topic
Name
6+6 =