I would like to Format my Date and time but i do not know how to at the moment i am getting a output like 2015-12-16 02:24:33
but i would like to get somthing like this 8th August 2015 03:12:46 PM
how can i do this
$note_query = mysql_query("SELECT * FROM `notes` WHERE `user_id` = $my_id");
while ($run_note = mysql_fetch_assoc($note_query))
{
$note_date = $run_note['Note_added_dat'];
echo $note_date;
}