title: Compute Date out of Timestamp from Binance-API (Python)
body: <p>I received the servertime from the Binance-API,I try to work with and it looks like this:</p>
  
  <pre><code>{
    "serverTime": 1518440400000
  }
  </code></pre>
  
  <p>The question is, how can I compute the date out of this stamp?</p>
  
  <p>I tried</p>
  
  <pre><code>import datetime
  
  print(datetime.datetime.fromtimestamp(
         int("1518308894652")).strftime('%Y-%m-%d %H:%M:%S'))
  </code></pre>
  
  <p>But the date wasn´t valid.</p>
  
  <p>Do you have ideas, or is it to specific?
  Thank you!</p>