Hi,
This filter should not be used like this, as you would be searching for identities having one Active directory account and at least one non active account (can be HR or any other account that would match).
If you save dates in identity as strings, then you would have to use something like this
Filter.like("startDate", "/2023", Filter.MatchMode.END);
But this would give you all hires of 2023. You would have to extend it to do then some more filtering on month and day.
Br,
Renad