I have a datetime column in MySQL.
datetime
How can I convert it to the display as mm/dd/yy H:M (AM/PM) using PHP?
Using PHP version 4.4.9 & MySQL 5.0, this worked for me:
$oDate = strtotime($row['PubDate']); $sDate = date("m/d/y",$oDate); echo $sDate
PubDate is the column in MySQL.
PubDate