I have converted a timezone to 'Europe/London' which prints out: 2017-07-27 12:39:07+01:00 as London time which is correct.
But how to I get this to print the time with that +01:00 added onto it so it would be 13.39.07 in this case? This is the function I am using:
def utc_to_london(utc_dt):
tz = pytz.timezone('Europe/London').localize(utc_dt)
print(tz)
return tz;
thanks for your help