Automatically add today's date in the note title

What I’m trying to do

I’d like to be able to either use a template or specify the date in the title of my note. Rather than having to type out the date of ‘2024-12-18’ or ‘December 18th, 2024’ in the title I’d like to just do “{@today}” or “{{date}}” as part of the note title (filename).

Things I have tried

I’ve done some searching and it seems like I should be able to use the built in templates from the ‘core plugins’ section.
I’ve enabled ‘Templates’ and specified a folder location. I think I’ve setup a template though I’m not sure if I did it right.
In my ‘Templates’ folder I created a note called ‘{{date}}’ for the title and the only text is {{date}}.

I’m able to add the date info in the note itself but can’t get it to show in the note title. Any help would be appreciated!

You don’t put symbols in the filename of the template note. The plugin that uses the template takes care of renaming it. So your template could just be called “dailyNoteTemplate.md” or something.

  1. You can use the Unique Note Creator core plugin

If you put this as the title: YYYY-MM-DD-HHmm it will result in 2024-12-17-1754 (including the time. You can make it whatever format you want. That’s just what I use.)

There is a format reference where you can make it words too. You just can’t put colons or other illegal filename characters in the time.

And that plugin gives you a template too.

  1. You can use the Daily Note plugin if you just want one dated note per day. If there is already a note with today’s date, it will open it, instead of making a new one.

It also has a template and template name.

Here is a screenshot of my Unique Note Creator plugin settings:

I called the template “Zet” for Zettlekasten.

  1. If you want to include dynamic symbols inside the body of the note, THAT’s where you’re going to put {{date}} and similar. And you can have any characters in the body of the note, including colons, etc.
1 Like