Datetime and time zones

I found this post on StackOverflow today. I’ve struggled with converting datetimes to specific time zones in the past. Apparently, I was just making it too hard. Scroll down to the answer titled Python 3.9 adds the zoneinfo module so now only the the standard library is needed!. Works like a charm.

May 22, 2024 · 1 min · Dan