In my app I have to fetch list of all rows if enrollDate is less or equal to current date .
my SQLite query is as
select * from master where enrollDate<='current date'
enroll date in table is "07/21/2017"
and current date is "11/22/2017"
.
Everything works well and I get list of rows if current date is till '30/09/2017'
but when current date start from "10/01/2017"
then list is returned with 0 rows while its also later date.
Please tell me why it is happening and how to resolve it.