Help with list filter, where a variable is one of the selection criteria

Hello all

Back in December @EricShulman provided some valuable help
https://talk.tiddlywiki.org/t/tiddlytools-time-calendar-help-with-events

The problem I was trying to solve was how to create a list of all the recurring events in an Events List that would fall between two future dates.

For a variety of reasons, instead of having an Events List, I want each event to have its own tiddler, tagged RecEvent (for Recurring Event). The title of the tiddler would be in the form “YYYY-MM-DD Description”, ie 1900-01-01 My birthday. There are tiddler fields, “event-date” with the content “19000101” and event-md with the content “0101”

I having been trying to rejig the code the create a similar list of all of the events that fall between two dates, but without success.

I think I need to create a variable which contains the value in “event-date” but with 1900 replaced by this year (or next year), or by prefixing the value in “event-md” accordingly, and see if this falls between the chosen future dates.

Any advice on the best way to do this would be greatly appreciated.

Cheers, Rob