title: how to print only date and not include the time in datetime.datetime.strptime()
body: <p>I have this code :</p>
  
  <pre><code>&gt;&gt;&gt; import datetime
  &gt;&gt;&gt; l = '2011-12-02'
  &gt;&gt;&gt; t = datetime.datetime.strptime(l, '%Y-%m-%d')
  &gt;&gt;&gt; print t
  2011-12-02 00:00:00
  </code></pre>
  
  <p>my question is, it is possible that only the <code>2011-12-02</code> will be printed?</p>