I have table which contains data along with created on date. I want to select data from table according to two given date ranges, or of one particular month.
I am not sure how to do that, as created on column is of type text and is stored as dd-MM-yyyy HH:mm:ss
I am using rawQuery() to fetch data.
You can do something like this:
minDateandmaxDate, which are date strings, make up your range. This query will get all rows fromMY_TABLEwhich fall between this range.