If today is, then show in repeater

Hello,

I’m building a website as a travel agent. and need help with some coding.

For example, I have 2 to 5 trips to the maldives each month. I already have the dataset ready. What i want to do is that, if a customer clicks on “Maldives” from the home page, and we’re in the month of december, the maldives page shows december maldives trips only (until he goes to the date picker and select another month), and if in March, it shows march trips only, etc.

Any help would be amazing :slight_smile:

Javascript’s Date entity can help you get the current month:

let currmo = new Date().getMonth();

You can then use that to set a filter for your dataset.