Before I rewrite an app I figured it’s best to ask this question first.
With sqlite, is it possible to do a between statement like this?
select * from database where date between '2010-10-01' and '2010-10-31'
As a side question, how do I get the last date of a month in javascript using the above format?
Yes you can (from the docs):
As for your last question, you may want to do the following:
Further reading: