Make data static

Things I have tried

Using templater, I am able do display today’s date on the daily notepage.
But the issue is, if I reference back to older date, the heading of the page shows today’s date.

Reason is the templater syntax:

<%+ tp.date.now(“dddd, DD MMMM yyyy”) %>

displays Friday, 29 October 2021, daily notes heading.

Is there any way to make the text static once it is retrieved.

Found the solution. Use the following syntax in the daily template.

{{Date:DD, dddd, MMM/YYYY}}

What I’m trying to do

If you want a “static date” created at the moment you use the template (using Templater syntax), why you use a “Dynamic Command”?
<%+ it’s a tag for dynamic functions, not for “static” one. With Templater, you need to use the normal syntax:
<% tp.date.now(“dddd, DD MMMM yyyy”) %>

Thanks a lot for the help.

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