September 2026
1051 pages
35h 4m
English
Python provides support for dealing with local time zones in addition to the functions described here. For this purpose, instances of the datetime.time and datetime.datetime types can be provided with information about the time zone to which they refer. In the following sections, we’ll introduce the zoneinfo module of the standard library, which is intended for the representation of time zone information, referring mainly to the datetime.datetime data type.
To work with time data in local time zones, you first need a data basis. There is an abundance of different time zones worldwide, each with its own special features—for example, regarding the change between DST and standard ...
Read now
Unlock full access