ID EN
Datetime

tzname

Python 3.11

If tzinfo is None, returns None, else returns self.tzinfo.tzname(self), raises an exception if the latter doesn’t return None or a string object,

Syntax

PYTHON
datetime.tzname()

See Also

tzinfo