Custom file metadata and dynamic templater re-use

Hoping the title is not too much, for a “project note” template, I would like to calculate some dates.
What I mean, once the validation committee date is fixed, the reverse scheduling is as follows:

  • pre-validation review is 7 days before
  • pre-validation committee is 3 days before

Things I have tried

I can’t find a way to do it, searching for an equivalent of some sort as:

---
creation-date: <% tp.file.creation_date("YYYY-MM-DD") %>
project-number: Cxxxxxx
kick-off-date: 2023-01-21
validation-committee: 2023-03-15
tags:
aliases: []
---

Last update: <%+ tp.file.last_modified_date("YYYY-MM-DD") %>

# [[<% tp.file.title %>]]

%%
validation-committee-contributors-reminder: <%+ tp.file.validation-committee - 9 days %>
pre-validation-review: <%+ tp.file.validation-committee - 7 days %>
pre-validation-committee: <%+ tp.file.validation-committee - 3 days %>
%%

Obviously, I am misusing or misunderstanding what I try with Templater dynamic variables.

Thanks for any tidbits,

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