Since python 3.2, the standard library provides datetime.timezone.utc, which is simpler and more integrated with the rest of Python’s datetime functionalities compared to pytz.
Since python 3.2, the standard library provides datetime.timezone.utc, which is simpler and more integrated with the rest of Python’s datetime functionalities compared to pytz.