However, one issue I’ve found is that if a task is scheduled for a date in the future, and I create the daily note for that date in advance, the scheduled task is not shown. The reason is that the query uses date.now (today’s date), not the future date (see line 4 in code below).
Can someone please suggest how I might fix this?
Maybe using the title of the future daily note, which is that days date in YYYY-MM-DD format may be an option?
PS - I not great at coding so be gentle
[!todo]+ Today’s Tasks
not done
due <% tp.date.now("YYYY-MM-DD") %>
sort by priority
hide due date
hide backlink
limit 5
Can I ask another question please…If I wanted to show tasks due today and at anypoint before today (ie overdue) in the same query, how would I do this please?