Forum Academy Marketplace Showcase Pricing Features

Check if a date is within a list of date ranges?

Hi all! I have been stuck on this for a while now. Can anyone help me out if they were able to check if a date is listed within a list of date ranges?

I am building an app where a user can choose various date ranges for when they are available.

Then, I would like to show in a calendar that we have built via a repeating group the days that they are available. However, we are not being able to come up with a condition that changes the color of the date for the day for when that day is contained by the list of the availability date ranges.

Any help would be greatly appreciated!