title: Remove time in date format in Python
body: <p>I using:</p>
  
  <pre><code>s = "20200113"
  final = datetime.datetime.strptime(s, '%Y%m%d')
  </code></pre>
  
  <p>I need convert a number in date format (2020-01-13)
  but when I print final:</p>
  
  <pre><code>2020-01-13 00:00:00
  </code></pre>
  
  <p>Tried datetime.date(s, '%Y%m%d') but It's returns a error:</p>
  
  <pre><code>an integer is required (got type str)
  </code></pre>
  
  <p>Is there any command to get only date without hour?</p>