0

I have a table in SQLite that has three fields (id, fromDate, toDate, uid). I want to select rows that has created in a specific dates. User select the period of time (from date/ to date). How I can query with ORMLite?

Amirhosein
  • 4,266
  • 4
  • 22
  • 35

1 Answers1

1

Sqlite does not have a Date type(supported types) There is some dateTime functions, i think that any of function will meet your requirement... The easier solution will be to convert you date to a timestamp and compare the timestamp.

Anis BEN NSIR
  • 2,555
  • 20
  • 29