Configure the format variable. The following letters can be used for various parts of the date. Any other letter will be left untouched.
y = four digit year
m = two digit month
d = two digit date
h = two digit hours (AM/PM is controlled via a separate variable)
n = two digit minutes
s = two digit seconds
Set the am/pm variable to true for 12 hour time or false for military time.
Anywhere in a note, type {date} to have it replaced with your custom date stamp.

y-m-d [h:n:s] returns: 2023-04-22 [11:04:43 PM]