print('original:', datetime.datetime.fromtimestamp(originalTimeStamp))
originalTimeZone = 'America/Los_Angeles'
targetTimeZone = 'Europe/Paris'
newTimeStamp = pytz.timezone(originalTimeZone).localize(datetime.datetime.
    fromtimestamp(originalTimeStamp)).astimezone(pytz.timezone(targetTimeZone))
print('new:     ', newTimeStamp)
newTimeStamp = time.mktime(newTimeStamp.timetuple())
print((newTimeStamp - originalTimeStamp) / 3600.0)
Changing a unix timestamp to a different timezone