mktime (1.5 vs 2.2.1)

Brian Quinlan brian at sweetapp.com
Fri Mar 28 16:22:07 EST 2003


 > 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.







More information about the Python-list mailing list