Dataview: list tasks due within next 3 days

I am trying to use the community plugin Dataview to create a query that gives me a list of tasks which are due for next three days. I have tried the following query:

Tasks due 3 days from now

FROM "Day Planners"
WHERE (date(today) <= due) OR (date(date(today) + dur(1 day)) <= due)

However, I get all tasks. What is the issue here?

What I’m trying to do

I am trying to solve this and receive a list of tasks due within 3 days from now, not all tasks. Can someone help me with this?

I have found the solution:

FROM "Day Planners"
WHERE (date(today) <= due)AND (due <= date(today) + dur(2 day))
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.