title: How to read the date from date time object?
body: <p>I have a datetime object which looks like the following:</p>
  
  <pre><code>2020-04-08 11:23:19-05:00
  </code></pre>
  
  <p>How can I read just the date part from here? For example: 2020-04-08</p>