import time, pytz
utc = pytz.timezone('UTC')
utc_dt = utc.normalize(dt.astimezone(utc))
time.mktime(utc_dt.timetuple())
Convert datetime object in a particular timezone to epoch seconds in that timezone