Using datetime, zoneinfo, pytz, and dateutil to Work with Dates, Times and Timezones

In a Deep Dive course Part III by Fred Baptiste I was introduced to the timezone module. However, I wanted to get a deeper understanding of the subject. Therefore, I took an additional tutorial on this subject. I completed the tutorial “Python Tutorial: Datetime Module - How to work with Dates, Times, Timedeltas, and Timezones” by Corey Schafer on YouTube. The length of the tutorial is 0:27 total video hours. In this tutorial, I learned: • Difference between naive and aware datetimes usage • How to use timedelta • Naive working with datetime.date, datetime.time, and datetime.datetime • Naive working with 3 alternative constructors: datetime.today(), datetime.now(), datetime.utcnow() • Converting naive to aware datetimes timezone • Several different ways to display day and time: 1. strftime() and strptime() Behavior 2. use dateutil module to convert data string to datetime You can find this tutorial at https://www.youtube.com/watch?v=eirjjyP2qcQ&ab_channel=CoreySchafer

Our Sidebar

You can put any information here you'd like.

  • Latest Posts
  • Announcements
  • Calendars
  • etc