title: How to convert GMT time to EPOCH Timestamp in milliseconds in python?
body: <p>I want to change GMT Zone(date and time) to EPOCH Time stamp in milliseconds.</p>
  
  <p>For example:</p>
  
  <p>I want to take current system date and by default the time will be "16:00:00" and convert this date &amp; time like below:</p>
  
  <p>If Date &amp; Time is "12/15/2015 16:00:00" GMT to be converted to "1450195200000" </p>
  
  <p>Here the code i used to achieve but no solution:</p>
  
  <pre><code>import datetime
  dt = time.strftime("%d/%m/%Y ")
  ti = "16:00:00"
  dt_ti = dt + ti
  pattern = '%d/%m/%Y %H:%M:%S'
  epoch = int(time.mktime(time.strptime(dt_ti, pattern)))
  print (epoch)
  </code></pre>
  
  <p>output is <code>1450175400</code></p>
  
  <p>But i want to achieve is this <code>1450195200000</code></p>
  
  <p>Please help me on this.</p>