Possible Duplicate:
How do I find the time difference between two datetime objects in python?
I am trying to find the difference in the number of days between current time and a given time in python.
For example, the time given is 2011-07-20 and the difference in the number of days at the point of posting this question is 41 days.
So my question is, how do I convert the given time into something that I can use to find the time difference in days. I am trying to make use of datetime.timedelta.now() - given time.
Thank you!