Expire old dates in Wix Studio Repeater

Write code to show only future dates that is greater than or equal to today in wix studio.

Repeater: events
Dataset: eventsdataset
Date field: date

Example I have an event on June 15, 2025. It is June 22, 2025 today. I do not want the event from June 15, 2025 to show up on my repeater. But I do have an event today and others is the future I want to show up.

Hi, @user2454 !!

I believe it’s possible by applying a filter to your dataset. It might be doable directly in the editor, but if not, try applying a filter to the Date field “date” using the code below as a reference. :innocent:

You probably need to attach .ge() to the filter, so please refer to the following reference as well.

As far as I remember, this simple filter worked when filtering by approximate date values. However, if that’s not accurate, a different approach may be required. :slightly_smiling_face: