title: Date Time create from format
body: <p>I want to create date with specific format for e.g 03-20-2010 have a format of m-d-Y but date function do not understand this date and returns wrong date</p>
  
  <pre><code>$date = date("Y-m-d", strtotime("03-20-2010"));
  </code></pre>
  
  <p>Above code is returning wrong date, what is the reason behind it and how to avoid wrong result? Few formats that I want date function to recognize are "Y/m/d" , "m/d/Y" , "F d, Y" , "M d, Y".</p>