Actually, even using the answer above, I still get the same error message.
I solved the problem using
>>>>from time import mktime as mktime >>>>today = mktime(2012, 12, 21, 0, 0, 0, 0, 0, 0)
I don't know why, but it only worked using an alias (like mktime) ... can someone tell me the reason ...
Diego favero
source share