SQLite system for working with dates is very powerful, but I find it
strange. I'm trying to select the dates between the beginning and end of a
week defined from the date of a given day. If I understand the documentation
thing this code should work:


select * from TABLE where DATE  between date('now','-7 days','Weekday 0')
and date('now','-7 days','Weekday 6');


But it does not work, although SQLite does not show any syntax error so do
not know where I'm wrong.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to