title: What's the correct datetime format for this string date generated by python?
body: <p>I have this date example <strong>'2022-08-30T11:53:52.204219'</strong> stored in database, when I get it from database it's type is string so I wanted to convert it to a date type by using this python code</p>
  <pre><code>datetime.strptime('2022-08-30T11:53:52.204219', &quot;%Y-%m-%d'T'%H:%M:%S.%f&quot;)
  </code></pre>
  <p>I also tried this one</p>
  <pre><code>datetime.strptime('2022-08-30T11:53:52.204219', &quot;yyyy-MM-dd'T'HH:mm:ssZ&quot;)
  </code></pre>
  <p>But I always get this error response <strong>'time data '2022-08-30T11:53:52.204219' does not match format &quot;%Y-%m-%d'T'%H:%M:%S.%f'</strong>
  I need help to convert this string date to an actual date</p>