system_tz = pytz.timezone(constants.TIME_ZONE)
localized_time = system_tz.localize(time_of_meeting)
fmt = '%Y%m%dT%H%M%S' + 'Z'
return localized_time.astimezone(pytz.utc).strftime(fmt)
Get UTC offset from time zone name in python