Predicate for comparing the month component of a Core Data date attribute
- by JK
I have a Core Data entity which has a date attribute. I would like to write a predicate to extract all dates within a specific month, e.g. July, irrespective of year. How can this be achieved? Thanks