String date to date object in python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1713594/parsing-dates-and-times-from-strings-using-python">Parsing Dates and Times from Strings using python</a>  </p>
</blockquote>



<p>I'm reading a string</p>

<pre><code>"2011-06-11"
</code></pre>

<p>How can I cast this to a <strong>date</strong> object?</p>

<p>thanks</p>
