Filtering base fore recent notes

It’s a question I’ve been thinking about myself. Here’s what I came up with, to generate for each day a table with the following filter formula: dateEquals(date(file.mtime), dateModify(date(“2025-05-31”), “-0 days”))

This is a .base code-block that I’ve inserted in my “Daily Notes” template. My daily note title is formatted YYYY-MM-DD, and when I open it for the first time each day, I use a hotkey to run the command Templater: Replace templates in the active file. That gives me an .base table in my daily note. Very convenient. You do need the “Templater” plugin, though.

Notes modified on <% tp.file.title %>

formulas:
  Modified: ""
display: {}
views:
  - type: table
    name: Modified on today's date code
    filters:
      and:
        - dateEquals(date(file.mtime), dateModify(date("<% tp.file.title %>"), "-0 days"))
    order:
      - file.name
      - file.mtime
      - file.ctime        
      - file.folder
      - tags
    columnSize:
      file.name: 490
      file.mtime: 200
    sort:
      - column: file.mtime
        direction: DESC
      - column: file.folder
        direction: ASC
limit: 50