> My question is: what is a good way to get the code working on _both_ 1.5 > and 2.2? res = time.mktime((year, month, day, runhour, 0, 0, weekday, jday, dsf )) should work in both.