How to convert date into US formatting in PHP?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2487921/php-convert-date-format-yyyy-mm-dd-dd-mm-yyyy-not-in-sql">PHP: convert date format yyyy-mm-dd =&gt; dd-mm-yyyy [NOT IN SQL]</a>  </p>
</blockquote>



<p>Hope everyone is having a great holiday.</p>

<p>I have a date in this format: <code>23-12-2011</code> and would like to reverse it into US format <code>2011-12-23</code>.</p>

<p>Does anyone know how I can do this in PHP? Is there any function for breaking strings up?</p>
