Possible Duplicate:
How can I subtract a day from a python date?
subtract two times in python
I had generated date in python as below
import time
time_stamp = time.strftime('%Y-%m-%d')
print time_stamp
Result:
'2012-12-19'
What i am trying is, if above time_stamp is the present today's date , i want a date '2012-12-17'
by performing difference(substraction of two days)
So how to perform date reduction of two days from the current date in python