The DateTime class is incredible for this.
You just need to create a DateTime object with the string that MySQL returns, and it will parse it automatically. Then, just call the DateTime::format method to format it the way you want.
<?php
$date = new DateTime($row['end_date']); // e.g. 2014-01-31 22:00:00
echo $date->format(DateTime::RFC2822); // result: Fri, 31 Jan 2014 22:00:00 +0100
echo $date->format('F j, Y g:ia'); // result: January 31, 2014 10:00pm
?>
For formatting the date, see the manual for the date() function.