I have the following timestamp in JS: 1436428916900 When I enter this date in JS I got the following results:
Date(1436428916900) "Tue Feb 16 2016 20:09:42 GMT+0200 (EET)"
I found several questions on SO and most of them offer following solution:
import datetime
my_time = 1436428916900
date = datetime.datetime.fromtimestamp(my_time / 1e3)
But the problem is that this code results in the following result :
datetime.datetime(2015, 7, 9, 11, 1, 56, 900000)
which is absolutely different result from JS code.
Sources : JavaScript timestamp to Python datetime conversion