title: How do I create a datetime in Python from milliseconds?
body: <p>How do I create a datetime in Python from milliseconds? I can create a similar <code>Date</code> object in Java by <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html" rel="noreferrer"><code>java.util.Date(milliseconds)</code></a>.</p>
  <blockquote>
  <p>Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as &quot;the epoch&quot;, namely January 1, 1970, 00:00:00 GMT.</p>
  </blockquote>