Quick Add + Templater

What I’m trying to do

Add a note via QuickAdd using a template that inserts creation and modified date (via Templater).

Things I have tried

Created QuickAdd template choice trying to input the following within new note -

created:: <%+ tp.file.creation_date() %>
modified::  <%+ tp.file.last_modified_date() %>

The template works as expected and creates the new note, but NaN outputs for the 2 dates.

This seems like a similar issue. I’m wondering if there is a way around this or even a better method to achieve what I’m trying to do? - create a new note with QuickAdd that inserts creation date and modified date.


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