title: Convert unix timestamp in Python to datetime and make 2 Hours behind
body: <p>I have this code,  recieve a unix timestamp from a server which is 2 hours ahead of my time. My time is SAST and theirs is GMT +2.</p>
  
  <p>I convert this timestamp in python to a readable datetime like this</p>
  
  <pre><code>import datetime
  
  unixtimestamp = 1507126064
  datetime.datetime.fromtimestamp(unixtimestamp).strftime('%Y-%m-%d %H:%M:%S')
  </code></pre>
  
  <p>The problem is that this time comes back two hours ahead of me, so what would be the easiest way to minus two hours or make it local time.</p>