Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Working with Time Zones - Everything You Wish You Didn't Need to Know

PyCon US via YouTube

Overview

Explore the complexities of working with time zones in Python through this informative PyCon US talk. Delve into Python's time zone model and learn critical concepts to avoid datetime troubles. Discover how to handle ambiguous and imaginary times, perform datetime arithmetic around Daylight Savings Time transitions, and utilize datetime's fold attribute introduced in Python 3.6. Gain insights into the zoneinfo module from Python 3.9, understanding walltime and absolute time semantics. Cover various time zone abstractions, types, and the concept of local time. Learn about the deprecation of PyTZ and how to effectively bring your own data when working with time zones in Python.

Syllabus

Introduction
Basics
Why work with time zones
Time zone abstractions
Time zone types
Fold
Local Time
Bring Your Own Data
Python Time Zones
ZoneInfo
Walltime semantics
Absolute time semantics
PiTZ Deprecation

Taught by

PyCon US

Reviews

Start your review of Working with Time Zones - Everything You Wish You Didn't Need to Know

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.