Convert date format for db
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2167916/convert-one-date-format-into-another-in-php">Convert one date format into another in PHP</a>  </p>
</blockquote>



<p>I have a date in the following format <strong>DD, d MM, yy</strong> (Friday, 21 October, 2011) how do I reformat it to store in mySQL db in the date format (0000-00-00)?</p>
