- I had a Python datetime object, T.
- I knew it was in Eastern time and wanted to convert to UTC.
- I also wanted it to keep track of daylight savings time, for when I have dates later in the year.
- Python datetime objects have “support” for timezone info, but you have to implement it yourself. Read: more coding overhead that I’m trying to avoid.
Here’s how to do it the easy way. Continue reading ‘Timezones in Python’