Week functions in Dataview plugin for Obsidian
There are a couple features of the Dataview plugin for Obsidian that aren’t documented and are potentially useful.
For the start of the week, use date(sow)
and for the end of the week date(eow)
. Since there’s no documentation as of yet, I’ll venture a guess that they are locale-dependendent. For me (in Canada), sow
is Monday. Since I do my weekly notes on Saturday, I have to subtract a couple days to point to them.
`="[[" + dateformat(date(sow) - dur(2 days), "yyyy-MM-dd") + " weekly" + "|Week]]"`
This inline Dataview
function will provide a link to my weekly summary document.