database date format that i retrieve is
$event_date='2013-01-20';
and i want to convert this format to like this Jan 1,2013
I have tried this
echo date('M d, Y',$event_date)
//but it is printing wrong value "Jan 01, 1970"
and giving error also: Notice (8): A non well formed numeric value encountered
if anyone can catch please help me to get correct value