How to create links to previous and next weeks

Hi,

I am trying to link my weeks from previous to next. (e.g., previous 2022W24 / next 2022W25)

I have tried different formulas, so far this formula {{date:YYYY-[W]WW}} outputs the correct week number for me, unlike other formulas.

So, using {{date:YYYY-[W]WW}} how do I change this formula to display either the previous and/or next week?

Any advice would be much appreciated,

Thanks.

1 Like

{{date-1w:YYYY-[W]WW}} and {{date+1w:YYYY-[W]WW}}, assuming you’re using the Periodic Notes plugin (see documentation in its description under “Date calculations”).

UPDATE: The developer reverted their docs to reflect only what’s actually in the app, but accidentally removed the date calculation section in the process. Here is a link to that section in the prior version of the README: GitHub - liamcain/obsidian-periodic-notes at 04965a1e03932d804f6dd42c2e5dba0ede010d79

2 Likes

Ok great it works now. Thank you for your help.

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