Tasks with date range

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

I found this code which I included in my Daily Note Template. It shows me all open tasks due at that day:

	dv.taskList(dv.pages().file.tasks
	.where(t => !t.completed)
	.where(t => t.text.includes("{{date:YYYY-MM-DD}}")))

Things I have tried

I would like to create another section displaying task which are due within the next 7 days.
So whenever I create a daily Note I see the tasks due today an d below that the upcoming tasks.
I am no programmer and tried a lot. Nothing works. Can you help?

Markus

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