I have an SQLite database running locally on the iPhone simulator. On of the tables in the database has a timestamp column called updated
. I am using the application SQLite Pro to examine the contents of the database. I can see clearly that the column updated
holds the timestamp 1401880857329
.
I execute the following code snippet, which gives data.updated the value 1723262259
, which is completly wrong. How come I get the wrong value?
var RS = db.execute("SELECT * FROM events WHERE id = {0}".format(id)); var data = { data : JSON.parse(RS.fieldByName('data')), updated : RS.fieldByName('updated') };SDK version is 3.2.2.GA, iOS 7.1.