Reputation: 472
I am trying to convert the following timestamp(in milliseconds since epoch) to normal date-time. Am using sqlite3 on windows xp.
I am using this query: select datetime((timestamp/86400000)+25569) from table;
(timestamp is the column name which contains the values like 1289325613669,1289325823860, 1289327180545).
I dont seem to be getting the right values. Am i doing something wrong?
Upvotes: 2
Views: 4872