Query for by a month of any year on a date field
Is there a way I write the query by a month of any year?
For example
I try formatDateWithPattern(xPublishDate,`MM`) <matches> `01` but it won't work.
I try formatDateDatabase(xPublishDate) <substring> `-01-` and it won't work either.
Thanks a lot for help.