formatting the date
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2009296/date-formatting-in-php">Date formatting in PHP</a>  </p>
</blockquote>



<p>Inside my print_r function when ran shows $message->date_sent as this 2012-03-05 00:00:00</p>

<pre><code>echo '&lt;td&gt;'.date('F d, Y', $message-&gt;date_sent).'&lt;/td&gt;';
</code></pre>

<p>Aparrently the date function is not what I'm wanting here because I just want to turn it into March 05, 2012. </p>
