Custom strings appended to date


I’m trying to create a link to previous day using templater.

While this line

<%"YYYY/MM/YYYY-MM-DD-dddd", -1, tp.file.title, "YYYY-MM-DD-dddd") %>

will create a link to the note 2022/10/2022-10-18-Tuesday, my notes are present in a folder called Daily and I want templter to create a link to Daily/2022/10/2022-10-18-Tuesday instead. How can I do this?

Daily/<%"YYYY/MM/YYYY-MM-DD-dddd", -1, tp.file.title, "YYYY-MM-DD-dddd") %>


[[Daily/<%"YYYY/MM/YYYY-MM-DD-dddd", -1, tp.file.title, "YYYY-MM-DD-dddd")]] %>

If you want a wiki-style link to the note

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