Re: Convert from/to struct_time

2007-04-22 Thread Diez B. Roggisch
Florian Lindner schrieb: > Hello, > I have a struct_time and a datetime object and need compare them. Is there > any function that converts either of these two to another? datetime.datetime(*time.localtime()[:6]) Diez -- http://mail.python.org/mailman/listinfo/python-list

Convert from/to struct_time

2007-04-22 Thread Florian Lindner
Hello, I have a struct_time and a datetime object and need compare them. Is there any function that converts either of these two to another? Thanks, Florian -- http://mail.python.org/mailman/listinfo/python-list