{% get_current_timezone %} Tag

puts the active time zone in a variable.

Date and Time As Markdown

Argument(s)
as varname
Closing tag
Not required
Requires
{% load tz %}

Documentation

The name of the time zone currently in effect, for showing the reader which one they are looking at.

Template

{% load tz %}
{% get_current_timezone as TIME_ZONE %}
<p>All times in {{ TIME_ZONE }}</p>

Result

<p>All times in America/Chicago</p>

More Date and Time Tags

All Date and Time Tags


Did we get something wrong? Is there a use case for the get_current_timezone tag that we should add? Please let us know.

Send Feedback

Official Documentation
This page last updated on August 20, 2026