title: Python 3.6.2 ValueError: time data does not match format
body: <p>I am using Python 3.6.2 and am trying to convert this string using <code>time.strptime</code>:</p>
  
  <blockquote>
    <p>2017-08-07 07:09:31.024719+00:00</p>
  </blockquote>
  
  <p>which is returned from Active Directory from a query using the ldap3 module.</p>
  
  <p>I issue the following commands:</p>
  
  <pre><code>from time import strptime
  strptime('2017-08-07 07:09:31.024719+00:00', '%Y-%m-%d %H:%M:%S.%f%z')
  </code></pre>
  
  <p>And I get:</p>
  
  <blockquote>
    <p>ValueError: time data '2017-08-07 07:09:31.024719+00:00' does not match format '%Y-%m-%d %H:%M:%S.%f%z'</p>
  </blockquote>
  
  <p>According to the documentation, I believe this should work?  Also, I intend to add an offset and to this using timedelta and then displaying it to the user in a console.</p>