---
title: '|timezone'
description: converts a datetime to a given time zone.
date: '2026-08-21'
categories:
  - Filter
  - Date and Time
canonical: https://djangotemplatetagsandfilters.com/filters/timezone/
doc_link: >-
  https://docs.djangoproject.com/en/6.1/topics/i18n/timezones/#std-templatefilter-timezone
---

# |timezone

converts a datetime to a given time zone.

## Documentation

Converts one aware datetime to the time zone you name.

### Template

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

The single-value counterpart to `{% timezone %}`, for a page that shows one row in a different zone from the rest.
