---
title: '{% get_current_timezone %}'
description: puts the active time zone in a variable.
date: '2026-08-21'
categories:
  - Template Tag
  - Date and Time
canonical: https://djangotemplatetagsandfilters.com/tags/get_current_timezone/
doc_link: >-
  https://docs.djangoproject.com/en/6.1/topics/i18n/timezones/#std-templatetag-get_current_timezone
---

# {% get_current_timezone %}

puts the active time zone in a variable.

## Documentation

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

### Template

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

### Result

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