I have a datetime
column in MySQL.
How can I convert it to the display as mm/dd/yy H:M (AM/PM) using PHP?
Finally the right solution for PHP 5.3 and above: (added optional Timezone to the Example like mentioned in the comments)
$date = \DateTime::createFromFormat('Y-m-d H:i:s', $mysql_source_date, new \DateTimeZone('UTC'));
$date->setTimezone(new \DateTimeZone('Europe/Berlin')); // optional
echo $date->format('m/d/y h:i a');