The requirement is to calculate the result of subtracting a certain number of days from a given date.
For example, if the given date is "3-Nov-2015 "and if the duration is 5 days, the result should be "29-Oct-2015".
What is the best way to do this?