title: string convert to date time in python
body: <p>I have a list of date time strings like this.</p>
  
  <p><code>16-Aug-2019</code></p>
  
  <p>I want to convert the string to <code>2019-08-01</code> this date format, and I have tried on this code , but it's getting me an error.</p>
  
  <p><code>formatd_date = datetime.strptime(formatd_date, '%y-%m-%d')</code></p>
  
  <p><code>ValueError: time data 'As-of' does not match format '%y-%m-%d'</code></p>
  
  <p>If any can help, it will be huge thank.</p>