To filter dynamic lists in Webflow based on a start date of “Today,” you need to combine Webflow’s native CMS filters with custom JavaScript, as Webflow does not support “today’s date” filtering natively.
event-list
.event-item
) to each collection item or wrap the date element inside a span or div with a custom class like start-date
.custom code area, or in an Embed element.
.start-date
element.data-
attributes with timestamps for parsing.<span class="start-date" data-date="2024-06-12"></span>
..start-date[data-date]
elements..event-item
if the date is in the past.Webflow’s CMS doesn't natively support "Today" as a filter value, but you can simulate real-time filtering by using JavaScript to compare each item’s date with today’s date and hide outdated ones. This creates automatically updating, date-sensitive lists.