Relative dates

Use case or problem

The aim is to create a static page that could be used for actions like retrospective reviews. It would have a series of links to Daily Note Pages, such as:

{{today}}
{{one week ago}}
{{one month ago}}
{{three months ago}}
{{six months ago}}

These would be rendered into a DNP link [[YYYY-MM-DD]] relative to today’s date.

Proposed solution

The creation of a date variable for use in Obsidian’s markdown.

Current workaround (optional)

A templater script can be made for the Daily Note Page, but this doesn’t need to be made for every page and adds clutter.

There may be rough approximations using Dataview or search queries.

Related feature requests (optional)

6 Likes

I would really like this. My use case would be linking daily notes together by yesterday/tomorrow links. I understand there is a workaround with Templater. I’d prefer to have this functionality within the Core Plugin, Daily Notes. My current workaround is using Periodic Notes to link from a weekly note down to each day within the week. Again, I’m unable or haven’t figured out how to do the reverse (link a daily note to its respective weekly note).
I guess I’m just +1-ing to this feature request! <3