how to create a code “when the date field is equal to or less than 5 days ahead”?
I have an automation in beckend that every day at a specific hour it fetches information within a tab, depending on the date of a field, it changes the status. So I would like to add this logic
Notice all that is different is the “<=” condition right next to the field name (checkin_2). This is the easiest way to go, but will also fetch results in the past: that is, you’ll also get records where checkin_2 is yesterday, or a month ago. If that’s not desirable, you can go with the solution below.
Change the filter structure.
You can also write filters in a more complex manner by making it all a single string. Like so: