title: How to convert a datetime into timestamp with timezone(Asia/Dubai) included?
body: <p>I am able to convert to date from a timestamp, but the conversion from datetime to timestamp is giving wrong answer. here's my code</p>
  
  <pre><code>import datetime
  from pytz import timezone
  
  datetime.datetime.fromtimestamp(1426017600,timezone("Asia/Dubai")).strftime('%Y-%m-%d %H:%M:%S')
  output:'2015-03-11 00:00:00'
  </code></pre>
  
  <p>How to include timezone when converting back to timestamp from datetime ?</p>
  
  <pre><code>&gt;&gt;datetime.datetime(2015,03,11).strftime('%s')
  output:1426012200
  </code></pre>