# Dynamic Variables

Within [templates](../beginner-to-advance-features/templates "mention"), and [queries](../queries "mention")it is possible to use Dynamic Variables.&#x20;

Dynamic Variables are syntax that allows you to replace a placeholder with, say, today's date.&#x20;

To use it, you need to use:`<% sample text %>.` Replace the sample text with the following:

* `today` => \[\[Today's journal page]]
* `yesterday` => \[\[Yesterday's journal page]]
* `tomorrow` => \[\[Tomorrow's journal page]]
* `time` => Current time, e.g. 22:44
* `Last Friday` => \[\[last Friday's date]]
* `current page` => \[\[Current page]]

