Create timezone aware datetime object in Python
In this article, we will discuss how to create a timezone-aware datetime object in Python. It means the tzinfo attribute in the datetime object should not be empty and contain the specified timezone info. In Python’s datetime module, the datetime class has an attribute tzinfo, which contains the timezone information. If you create a naive […]
Create timezone aware datetime object in Python Read More »