Converting PDT to UTC using pytz and dateutil
Every time I have to do this it takes me a solid half hour to figure it out, so I'm throwing it up here for future reference. I hate timezone calculations.
- utc
- pytz
- timezones
- pdt
Every time I have to do this it takes me a solid half hour to figure it out, so I'm throwing it up here for future reference. I hate timezone calculations.
1 snippet posted so far.