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
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:
Source:
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.