The Obsidian Templates plugin will fill in the following variables in a template note before the template note is inserted into the current note:

VariableDescription
{{title}}Title of the active note.
{{date}}Today’s date in the default format.
{{date:format}}Today’s date in the format format
{{time}}Today’s time in the default format.
{{time:format}}Current time in the format format

format can be a Moment.js format string.

Source: help.obsidian.md