Skip to content
Advertisement

SQLite not selecting date

My SQlite database in my app stores the date in the format of yyyy-MM-dd HH:mm:ss. I want to query a transaction that happened on a certain month of a year but my code is not working :

Advertisement

Answer

After some research I discovered that for some reason I had to do some casting for it to work.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement