I would like to get data only for today by using filter. i managed to get today date using “function node” ,
however, i do not know how to enter in the filter using formula to filter “Date(Night)” value.
@Benjamin123 below is an example workflow to achieve this. The expression inside the “Filter By Formula” parameter would look like: {Date(Night)} = "{{$json["date"]}}"
Where {{$json["date"]}} is a reference to the data created in Date & Time node (in this case, I’m just referencing the node payload coming into the Airtable node).
The Date fields in Airtable work a bit differently. I am assuming the Date(Night) field in your Airtable has the type date and not text. If that’s the case, the above formula will not work. You will need a different formula that uses date with it.
I ran a quick test, and if you’re using the Date field, you will have to use the iS_SAME() method. In your example, it should look like IS_SAME({Date(Night)},"{{$json["yesterday"]}}")
i wasn’t still able to find the value. is it because my “date(night)” value is inside the “fields” array and i would require it to include “field” in the filter ?