I have a date string of the following format '%Y%m%d%H%M%S'
for example '19981024103115'
and another string of the UTC local offset for example '+0100'
What's the best way in python to convert it to the GMT time
So the result will be '1998-10-24 09:31:15'