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?
$date = "'".date('Y-m-d H:i:s', strtotime(str_replace('-', '/', $_POST['date'])))."'";