Categories
Python Answers

How to get a list of Python Pytz Timezones?

Spread the love

To get a list of Python Pytz Timezones, we can use pytz.all_timezones.

For instance, we write

import pytz
pytz.all_timezones

to get a list of all timezones with pytz.all_timezones.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *