How do you query todos due today

I want to do a simple query that just pulls todos with today’s date. Something like this…

{{query(task TODO) and (<%today%>)}}

But this is just pulling all my todos. Any suggestions?

Please read the documentation on queries:
https://docs.logseq.com/#/page/queries

Here is the correct syntax.
{{query (and (task TODO) <%today%>)}}

2 Likes

That seems to get the TODO that are marked with today’s date. Are you using Date Picker or Schedule for marking due dates?

I recommend /schedule because it allows things like repeat todos and it should show up under your daily journal automatically.