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

# {% timezone %}

renders a block in a specific time zone.

## Documentation

Renders everything inside it in the given time zone, whatever the current one is.

### Template

```django
{% load tz %}
{% timezone "America/Chicago" %}
  {{ event.starts_at }}
{% endtimezone %}
```

Pass `None` to fall back to the default time zone.
