Dnia 7 Aug 2008 18:40:10 GMT, Robert Latest napisa�(a): >>>> t = time.strptime("Mar 30, 2008 2:43:32 am", "%b %d, %Y %I:%M:%S >>>> %p") >>>> time.mktime(t) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > OverflowError: mktime argument out of range >>>>
time module is written in C. time.mktime() function is actually only a wrapper for mktime(3) and it also has its limits. Better use datetime module instead. -- Regards, Wojtek Walczak, http://www.stud.umk.pl/~wojtekwa/
-- http://mail.python.org/mailman/listinfo/python-list