how to change the date format to another?
<p>From a database I am getting a date which's format is like this</p>

<p>2012-7-8</p>

<p>but I want to convert this to look something like this</p>

<p>2012 July 8th</p>

<p>but I am unable to do this, is there any way?</p>
