I have date like "2014-05-14 19:15:00" but i want to convert it in "7:15 PM 14th May 2014".
Here is my code:
$start = $post['begin'];
$start='2014-05-14 19:15:00';
$start = date('l, d-M-y H:i:s T',$post['begin']);
but not worked for me. How i get the desired date?