filter datalist by date range with check box

Oscar Ward shared this question 1 year ago
Answered

Im trying to filter a datalist by a date field. I want to show dates that are a year or 2 years older than the current date. so I have a checkbox that when checked will filter the datalist for the date.

i tinker with filter[list, dateSubmitted <= [systemdate (im not sure how to indicate 2 years before here)