I have a piece of python3 code, that calls a function at 22:00.
# Imports from datetime import datetime, date, time, timedelta import sched
use the following to convert to a timestamp in python 2
int((mod_time.mktime(first_run.timetuple())+first_run.microsecond/1000000.0))