Maybe this workaround would be usable for you?
- Quit darktable
- Run a SQL similar to the one outline here: How to filter for a month? - #21 by Pascal_Obry
You’d have to replace thewhere
clause in the SQL. - Start darktable, and do whatever you want with the selected images (e.g. assign a tag you can later use to select them again).
You could even assign the tag directly via the DB.