Subtracting two dates in python
eshwar080 at gmail.com
eshwar080 at gmail.com
Thu Jul 31 12:08:39 EDT 2014
I would like to subtract two dates
i.e I have entered a date into a textbox which is of type String like below
type(waitForObject(":VWAP Calculator_LCDateTextField"), "07/24/14")
I am capturing that date like below
Current = (waitForObject(":VWAP Calculator_LCDateTextField").text)
so, now I want to subtract the captured date with my current system date and get the difference in days. I tried many ways and see no success. Someone please help with this as soon as possible.
P.S: I have python 2.4 and 2.7
More information about the Python-list
mailing list