[Solved] How to convert iphone iOS (NSDate) Timestamp using Python [closed]


I tried that, but 1982 timestamp for iphone 5 is not right. It is not unix format timestamp it is as I understand NSdate format which I dont know what I can do.

What found later: The big number recorded in the time stamp is the amount of time, in seconds, since January 1, 2001. So I got unix time-stamp for January 1, 2001 (GMT) (which is also in seconds). So that now:

>>>unixTS = 978307200 
>>>date = str(datetime.datetime.fromtimestamp(unixTS + iphoneTS))  

solved How to convert iphone iOS (NSDate) Timestamp using Python [closed]