Shawnaby
3 years agoNew Contributor
My Filter Expression for Dates is not working
Hello All,
I have a date field in input and I’m trying to apply a filter
I want to filter only for the date type field: ZCC04 Proc. Date
where it is before today’s date minus 11 days.
I’ve tried both expressions but nothing is being outputted.
Date.parse($[‘ZCC04 Proc. Date’]) <= (Date.now().minusDays(11))
$[‘ZCC04 Proc. Date’]<Date.now().minusDays(11)
Since the record’s Proc date is June 27, 2022 (2022-06-27), I would think the record would be filtered as true since 11 days before today would be July 11, 2022.
June 27, 2022 < July 11, 2022
I’m so upset it’s not working…