How To Easily Insert Today's Date Into Obsidian Templates

How To Add Today's Date To Template In Obsidina

How To Easily Insert Today's Date Into Obsidian Templates

Obsidian is a free and open-source utility for taking notes and managing your digital life. One of many nice options of Obsidian is its capability to make use of templates to rapidly and simply create new notes. You’ll be able to create a template for something, from a each day journal entry to a gathering agenda.One widespread factor you may wish to add to a template is at present’s date. This may be helpful for protecting observe of when notes have been created, or for making a each day log of your actions.There are two methods so as to add at present’s date to a template in Obsidian.


The primary approach is to make use of the `{{date}}` variable. This variable will routinely get replaced with at present’s date while you create a brand new observe from the template.To make use of the `{{date}}` variable, merely add it to your template. For instance, the next template will create a brand new observe with at present’s date on the high:““““`## Day by day Log Date: {{date}}“““ Notes: “`The second approach so as to add at present’s date to a template is to make use of the `date()` operate. The `date()` operate takes a format string as its argument. The format string specifies how the date ought to be formatted.For instance, the next template will create a brand new observe with at present’s date formatted as “YYYY-MM-DD”:“`## Day by day Log Date: {{date(“YYYY-MM-DD”)}}“““ Notes:

Read more