0

I developed an Android Apps with SQLite database.My task is to compare today date with database date. Unfortunately, my date is "mmm dd yyyy hh:mm" and the data type is smalldatetime.

For example, how do I compare "Mar 9 2018 6:00AM" >= todayDate?

If cannot compare, can I change this datetime format "mmm dd yyyy hh:mm" to "yyyy-MM-dd"?

Thank you.

Jacky Teaw
  • 93
  • 1
  • 9

0 Answers0