Using Python’s datetime Module
Python has several different modules to deal with dates and times. This course concentrates on the primary one, datetime
. Dates and times are messy things! Shifts due to daylight savings time and time zones complicate any computing with dates and times.
In this course, you’ll tackle that messiness and learn:
- How to use the
datetime
module - What the
zoneinfo
module does and how to use it - How to calculate the difference between two
datetime
objects