fork(1) download
  1. from datetime import datetime
  2.  
  3. millis = 1433356618314
  4.  
  5. #XXX: WRONG DON'T DO IT
  6. datetime.fromtimestamp(str(millis)[0:-3])
  7.  
Runtime error #stdin #stdout #stderr 0.02s 9032KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 6, in <module>
TypeError: an integer is required (got type str)