{{date}} {{time}} {{title}} Not working

Only typing {{date}} into a note isn’t going to do anything. These are variables to use with the core Templates plugin. See the templates help section.

  1. Check if Templates is turned on in Settings > Core Plugins.
  2. Set a template folder location.

  1. Create a note, say note template, and put it in the location you entered above.
  2. The contents of the note template should look something like this starting on line 1:
---
creation date: {{date}} {{time}}
alias: []
tags: []
---

# {{title}}

Now that it’s set, in any new note you can cmd/ctrl+p > Templates: Insert Template or click the ribbon icon for Templates, choose note template, and the above with the fields filled in will be inserted into a note.

You could also, for example, create a date template with only

{{date}}

in it. This will just insert the date wherever you trigger it.

3 Likes