On 12 September 2013 06:34, jwzumwalt <jwzumw...@gmail.com> wrote: > I have not used the date function in select statements before. > I have valid entries for the current month, what am I doing wrong? > > SELECT * FROM "entry" WHERE > bankdate > date('now','end of month','-1 month') > AND bankdate < date('now','start of month','+1 month') >
I see no "end of month" modifier in http://www.sqlite.org/lang_datefunc.html Why not SELECT * FROM "entry" WHERE bankdate >= date('now','start of month') AND bankdate < date('now','start of month','+1 month') Regards, Simon _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users