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 capacity to make use of templates to shortly and simply create new notes. You possibly can create a template for something, from a each day journal entry to a gathering agenda.One widespread factor you would possibly need to add to a template is at this time’s date. This may be helpful for conserving 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 this time’s date to a template in Obsidian.


The primary method is to make use of the `{{date}}` variable. This variable will robotically get replaced with at this time’s date if 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 this time’s date on the prime:““““`## Each day Log Date: {{date}}“““ Notes: “`The second method so as to add at this time’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 must be formatted.For instance, the next template will create a brand new observe with at this time’s date formatted as “YYYY-MM-DD”:“`## Each day Log Date: {{date(“YYYY-MM-DD”)}}“““ Notes:

Read more