I want to use datetime
module utcfromtimestamp
method but its not work in Ninja-IDE. How I can solve my problem?
My code:
#-*- coding: utf-8 -*-
import datetime
print (datetime.datetime.utcfromtimestamp(130130301))
And Ninja-IDE 2.3 writes this error message:
File "C:\Users\test\Desktop\datetime.py", line 3, in <module>
print (datetime.datetime.utcfromtimestamp(130130301))
AttributeError: 'module' object has no attribute 'utcfromtimestamp'
I installed Python 3.4 and setup the path in preferences.