We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a1806b commit 9a5f50dCopy full SHA for 9a5f50d
docs/docsite/rst/playbook_guide/playbooks_templating_now.rst
@@ -13,4 +13,6 @@ utc
13
Specify ``True`` to get the current time in UTC. Defaults to ``False``.
14
15
fmt
16
- Accepts a `strftime <https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior>`_ string that returns a formatted date time string.
+ Accepts a `strftime <https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior>`_ string that returns a formatted date time string.
17
+
18
+For example: ``dtg: "Current time (UTC): {{ now(utc=true,fmt='%Y-%m-%d %H:%M:%S') }}"``
0 commit comments