How do I convert a datetime string in local time to a string in UTC time?
I\'m sure I\'ve done this before, but can\'t find it and SO will hopefull
If you already have a datetime object my_dt you can change it to UTC with:
my_dt
datetime.datetime.utcfromtimestamp(my_dt.timestamp())