Linking tomorrow's daily note

Hello,

I am looking to have a dashboard with today’s daily notes, as well as tomorrow’s. I found out how to link today’s, but how about tomorrow’s?

Thanks

I found this on Medium:

[[<% tp.date.now(“YYYY-MM-DD”, -1, tp.file.title, “YYYY-MM-DD”) %>|↶ YESTERDAY]] ⁝ [[<% tp.date.now(“YYYY-MM-DD”, 1, tp.file.title, “YYYY-MM-DD”) %>|TOMORROW ↷]]

Source:

https://medium.com/obsidian-observer/my-obsidian-setup-daily-notes-journaling-and-habits-tracker-f6f65119e59e

What are you using to link to the daily note now? As it’s in a dashboard note, I’m guessing a dataview js inline query? Maybe?

If you use Dataview and have inline JS queries enabled, something like this should work if your daily notes are YYYY-MM-DD:

`$= '[['+moment().add(-1, 'days').format("YYYY-MM-DD")+'|Yesterday]]'`  
`$= '[['+moment().format("YYYY-MM-DD")+'|Today]]'`  
`$= '[['+moment().add(+1, 'days').format("YYYY-MM-DD")+'|Tomorrow]]'`

I use buttons and the templater command tp.file.move

today: <% await tp.file.move(“/Daily notes/” + tp.date.now(“DD-MM-YYYY”)) %>

tomorrow: <% await tp.file.move(“/Daily notes/” + tp.date.tomorrow(“DD-MM-YYYY”)) %>

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