Back to Browse

Timzone aware date time in Python | (zoneinfo & pytz)

1.0K views
Jan 13, 2022
16:23

The world is having more than 500 time zones. Working with them is a complex task. Libraries like #zoneinfo & #pytz, with #datetime_module, make working with them really easy. Link for datetime module to understand local/naive datetime objects: https://www.youtube.com/watch?v=j5JDu5w3ZCk&t=584s This module will cover up : Timestamps: 00:00 Introduction 01:05 conceptual understanding of timezone aware datetime objects 03:35 practical understanding of timezone aware datetime objects 04:45 Timezone (Zoneinfo objects) from zoneinfo library 09:10 Get current time of any country/time zone 10:35 convert one time zone time into another timezone time (astimezone) 12:00 convert local datetime object into aware datetime object (localize) 13:55 country wise timezone strings

Download

0 formats

No download links available.

Timzone aware date time in Python | (zoneinfo & pytz) | NatokHD