I'm trying to get the last 12 hours worth of entries from an SQLite db with android.
I was wondering if this was possible?
My date format is "yyyy-MM-dd HH:mm:ss.SSS"
using simple date format.
I have a CREATED_AT column in my table which is of type TEXT.
I've got this far:
SELECT * FROM " + ENTRIES_TABLE + " WHERE " + CREATED_AT + ..."
Also, does it matter that the CREATED_AT column is TEXT rather than a datetime type?
Thanks