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
[ Improve Your Python With ? Python Tricks ? – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]