title: PHP : Function to convert the date format
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://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 want to convert the date format from a particular format to some other.</p>
  
  <p>For example,</p>
  
  <p><b>Convert the date from ( 2011-06-21 or 2011/06/21 or 06/21/2011 ) to 21062011.</b></p>
  
  <p>Is there any function to do this job.</p>
  
  <p>Thanks in advance.</p>