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)
.
Any ideas?
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)
.
Any ideas?
If you are searching the month name, text month names does not seems to be supported by the core distribution of SQLite
I'm guessing you want to get the month as a string. Not the most friendly looking but you probably see the point. Just replace date('now') with your variable.
I don't understand, the response is in your question :
Try using the following: