How to use NOW or TODAY's date in date time filters

Hi everyone,
I have an iterator that works and has a date value in each item in the iterator. THe next step is a gpt call. But before that gpt I"d like to add a filter items where the date is today + 3 weeks.

As a first step I tried filtering using Date time operator later than or equal to. But I can’t figure out what to add in {{formatDate(“now”; “MMDDYYYY”)}}.

When entered like this, “now” doesn’t seem to actually be a variable, just text

Can someone please point me in the right direction?

I tried to run it just to see and of course I got an error.
The bundle did not pass through the filter because of an error. Failed to evaluate filter ‘0-0’: Function ‘formatDate’ finished with error! ‘now’ is not a valid date.

So the question still is… how to insert the current date?

Hey Dave,

it’s {{now}} and also here and here you can see on how to format it.

1 Like