title: Python UTC offset value
body: <p>I'm trying to convert this 20130607T064835-0700 into unix time representation. Unfortunately I can't do it for some reason. I've managed to create some code but it doesn't work.</p>
  
  <pre><code>time.mktime(datetime.datetime.strptime('20130607T064835-0700', '%Y%m%dT%H%M%S%z').strftime("%s"))
  </code></pre>
  
  <p>It looks like datetime representation of %z in Python is not working well. </p>
  
  <pre><code>&gt;&gt;&gt; print time.strftime('%z')
  Central European Daylight Time
  &gt;&gt;&gt; print time.strftime('%Z')
  Central European Daylight Time
  </code></pre>
  
  <p>I think %z should return offset like it's said in documentation:</p>
  
  <pre><code>%z  UTC offset in the form +HHMM or -HHMM (empty string if the the object is naive).
  </code></pre>
  
  <p>What am I doing wrong?</p>