Using pytz to convert from a known timezone to local,(local_dt - datetime.datetime.utcfromtimestamp(timestamp)).seconds