title: Convert string into DateTime to UTC format in Python, postgresql
body: <p>I receive 2 different formats of datetime in string format. But While storing in PostgreSql Database it has to be stored in UTC format.</p>
  
  <pre><code>Format 1 : 2017-08-25 01:10:56.910523 -04:00
  Format 2 : 2017-08-25 01:10:56.910523 AMERICA/NEW_YORK
  </code></pre>
  
  <p>Tried using timestamptz in PostgreSql but I guess it doesn't seem to  understand <strong>AMERICA/NEW_YORK</strong> so how can to convert and store in UTC format in DB</p>
  
  <p>-4:00 and AMERICA/NEW_YORK are just example but it can be anything else.</p>