On Nov 10, 9:40 am, Zeynel <azeyn...@gmail.com> wrote: > mDATE = "2010-11-10 14:52:35.026000" > > (Not sure if this is string or something else.) > > I would like to convert mDATE to integer to add, multiply etc. > > For instance, if I try to convert mDATE to seconds > > td = mDATE.seconds > > I get the error > > td = result.mDATE.seconds > AttributeError: 'datetime.datetime' object has no attribute 'seconds' > > Thanks.
No group likes when you ask the same question twice in two different threads. faus pas! Go back and check your other thread for enlightenment. -- http://mail.python.org/mailman/listinfo/python-list