While this isn\'t a programming question per se, it IS related.
So I\'m trying to figure out how to parse the SMS DB that gets backed up from the iPhone. I\'m looking at
I don't know about getting the correct date given two versions present, but when I did this today, I noticed the date
column was not the standard unix time but a longer number with seemingly nine zeros at the end, like 444548608000000000
. This is what I did to get the correct date:
select
datetime(substr(date, 1, 9) + 978307200, 'unixepoch', 'localtime') as f_date,
text
from message