convert epoch timestamp in python
<p>The following are epoch timestamps that I have. </p>

<pre><code>Timestamp
1346114717972
1354087827000
</code></pre>

<p>How can I convert these timestamps to new timestamps with format <code>mm/dd/yyyy hr:min:sec</code> ?</p>

<p>I tried the following</p>

<pre><code> &gt;&gt;&gt; datetime.datetime.fromtimestamp(1346114717972)
 Traceback (most recent call last):
 File "&lt;stdin&gt;", line 1, in &lt;module&gt;
 ValueError: timestamp out of range for platform time_t
</code></pre>
