Dealing With Dates and Times in Python
A short course looking at how to deal with dates and times in Python using the `datetime` module. The course also introduces timezones and the `zoneinfo` module
1.1 Today, It's Time To Talk About Dates and Times
1.2 The Main Datatypes in The datetime Module • datetime.datetime
1.3 The Main Datatypes in The datetime Module • datetime.timedelta
2.1 Converting From A String To datetime.datetime • strptime()
2.2 Converting From datetime.datetime To A String • strftime()
2.3 What Day Of The Week Was It When You Were Born?
2.4 Different String Representations For Dates And Times • Using str() and repr()
2.5 Using datetime.datetime Objects in f-strings
2.6 Adding or Subtracting Time
3.1 Aware And Naïve datetime.datetime Objects • Using zoneinfo
3.2 GMT/UTC Offsets and Daylight Saving
3.3 What Time Is This Meeting Where You Are?
E.1 NumPy's Versions of "Datetime" and "Timedelta"
E.2 Pandas' Versions of "Datetime" and "Timedelta"