In this video course, you learned about programming with dates and times and why it often leads to errors and confusion. You also learned about the Python datetime
and dateutil
modules as well as how to work with time zones in your code.
In this course, you learned about:
- The messiness of dates and times
- The nuts and bolts of the
datetime
module - The addition and subtraction of time from a
datetime
object - The calculation of how long it has been since the Bak’tun
For more information on concepts covered in this course, you can check out:
mckown on May 24, 2022
Fascinating course. I’ve struggled with dates and times for years. This course helped to clarify some points. One problem I’m currently struggling with–which isn’t covered in this course–is rolling over calendar events to another year/term/whatever to the same weekday as previous. Hence, an event scheduled for Monday, April 4, 2022, should be rolled over to Monday, April ?, 2023. I’ll get it figured out, but this course gives me lots to explore. Thanks!