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.

<span title='2024-05-22 18:20:04 -0500 -0500'>May 22, 2024</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Dan