Just what I was looking for.
However, I dropped using the filesystem’s date and time for created and modification of notes. It breaks quite easily and is therefore not reliable.
Basically, I use a combination of obsidian-linter and obsidian-frontmatter-modified-date as described in this Obsidian forum post.