I have a requirement that i am having no of days, and one date according to the date given i should display the past date depending up on the no. of days.
ex: no of days are 23.
given date is 07.08.2007.
now i should display date i.e past date 23 days before date as 16.07.2007.
The total days between two dates(including given dates) i.e 16.07.2007 to 07.08.2007 should be equal to no. of days i.e 23.
<b>useful answers will be rewarded</b>