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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to