When I try and convert this to a python date, it is 30 years in the future:
Code: Select all
>>> import utime
>>> jsmsec = 1541559855359
>>> jssecs = int(jsmsec/1000)
>>> utime.localtime(jssecs)
(2048, 11, 6, 3, 3, 28, 4, 311)
Is there a simple way of converting a numeric javascript time in miliseconds to python date ?