I have a table with Date
column with type DATE
where values is looks like: '%d.%m.%Y'
. How I can get rows for current month? I already tried:
SELECT *
FROM SampleTable
WHERE Date BETWEEN strftime('%d.%m.%Y', date('now','start of month')) AND
strftime('%d.%m.%Y', date('now','start of month','+1 month','-1 day'))
But then I get all rows. I would be grateful for any help.