Sqlite convert string to date

As SQLite doesn’t have a date type you will need to do string comparison to achieve this. For that to work you need to reverse the order – eg from dd/MM/yyyy to yyyyMMdd, using something like

where substr(column,7)||substr(column,4,2)||substr(column,1,2) 
      between '20101101' and '20101130'

Leave a Comment