I am trying to get extract the month from a DATETIME field in SQLite. month(dateField) does not work as well as strftime('%m', dateStart).
DATETIME
month(dateField)
strftime('%m', dateStart)
Any ideas?
I don't understand, the response is in your question :
select strftime('%m', dateField) as Month ...
2.1m questions
2.1m answers
60 comments
57.0k users