Skip to content

Query due $date-is-file-path #1211

Answered by claremacrae
abuggin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @abuggin,

Currently there is no built-in way feature in Tasks to extract the date from the file name.

As you have found, today is a short-cut for the current date, so does not help.

The way that people solve this is to create a template system for Obsidian to use when creating the daily note.

We have some incomplete notes on ways to do this here:

https://obsidian-tasks-group.github.io/obsidian-tasks/advanced/daily-agenda/

I hope they help you get started.

Below I show my set-up, in case it gives you some ideas for how you would like to arrange yours.


Personally I use:

1 The Core Daily notes plugin

With these settings:

The truncated text is:

Date format: YYYY/MM/YYYY-MM-DD dddd
Tem…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by claremacrae
Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants