title: Converting string to Date and DateTime
body: <p>If I have a PHP string in the format of <code>mm-dd-YYYY</code> (for example, 10-16-2003), how do I properly convert that to a <code>Date</code> and then a <code>DateTime</code> in the format of <code>YYYY-mm-dd</code>? The only reason I ask for both <code>Date</code> and <code>DateTime</code> is because I need one in one spot, and the other in a different spot.</p>