Issue on using Jinja2 code in footer

Hi

When I try to setup the footer of letter head, I have some issue on using Jinja2 code.

My code is here

<style>
    .foo_text{
        opacity: 0.75;
    }
</style>

<div class="foo_text">
    <hr>
    <p>Company_name Copyright (c) 2021 {%frappe.utils.today()%}</p>
</div> 

And I received errors when I do print like this

Traceback (most recent call last):
  File "apps/frappe/frappe/utils/jinja.py", line 86, in render_template
    return get_jenv().from_string(template).render(context)
  File "env/lib/python3.6/site-packages/jinja2/environment.py", line 941, in from_string
    return cls.from_code(self, self.compile(source), globals, None)
  File "env/lib/python3.6/site-packages/jinja2/environment.py", line 638, in compile
    self.handle_exception(source=source_hint)
  File "env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "", line 9, in template
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'frappe'.

{{variable_name}} is just fine I tested.
So Please advise.
Thanks.

{%frappe.utils.today()%}

If you check the doc

{{ frappe.utils.today() }}

Does it work ?

That works awesome.

Thanks