BASES - This Day In History

Setup

Important

This is based on the assumption that your daily notes are named in the format YYYY-MM-DD. If they are not, you need to adapt the query accordingly.

Result

You will get a list of notes created on this day over the years. If you place it inside a callout, it looks like this:

BASES - This Day In History.webp|600

Code

filters:
  and:
    - file.basename != this.file.basename
properties:
  file.name:
    displayName: Name
views:
  - type: list
    name: Table
    filters:
      and:
        - file.name.contains(date(this.file.name).format("MM-DD").toString())
    sort:
      - property: file.name
        direction: DESC