title: Convert a date format in PHP
body: <p>I am trying to convert a date from <code>yyyy-mm-dd</code> to <code>dd-mm-yyyy</code> (but not in SQL); however I don't know how the date function requires a timestamp, and I can't get a timestamp from this string.</p>
  
  <p>How is this possible?</p>