You can use the utcNow() to get the current date and addDays() function to add or substract days from the current time.
addDays(utcNow('yyyy-MM-dd'), -7)
For example, in the following filter query I am searching for items that were created between today (2022-03-16) and 2022-03-09:

Hope this helps.
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.