As there is not yet an accepted answer to this post I put together some of the aspects mentioned in the comments and compiled them into a working fiddle. Please do not feel offended if it appears to you that I hijacked your contribution.
One point that remained unclear to me was the origin of the date. Maybe it is only one date (the current one) OP wants to subtract from? This would only require one conversion/subtraction to be done. On the other hand, maybe OP wants the subtraction to be done on a number of "input cells"? In the following example I added some HTML to the question in which I provide input dates in the column preceding the target cells with class "four-days-back".
The script loops over all the target cells and fills them with dates 4 days before the dates given in the column before that.
Since the year is not defined in the date column it needs to be defined nonetheless. The year becomes important because of leap year implications. In my example I assume that the current year applies.
[[ This answer is a "Vanilla-JS" one, using ES2015 arrow notation and the ES2017 element String.prototype.padStart()
. Therefore it will not work in IE browsers. It will need to be adapted in order to work in these browsers. ]]
var y = new Date().getFullYear();
[...document.querySelectorAll('.four-days-back')].forEach(el=>{
var md=el.previousElementSibling.innerText.split('/');
var mm,dd;
var dt=new Date(y,md[0]-1,md[1]-4,12);
el.innerText=(dt.getMonth()+1+'').padStart(2,'0')
+'/'+(dt.getDate()+'').padStart(2,'0')
});
<table>
<tr><th>topic</th><th>date</th><th>4 days before</th></tr>
<tr><td>one</td><td>03/02</td><td class="four-days-back"></td></tr>
<tr><td>two</td><td>08/14</td><td class="four-days-back"></td></tr>
<tr><td>three</td><td>09/03</td><td class="four-days-back"></td></tr>
<tr><td>four</td><td>10/01</td><td class="four-days-back"></td></tr>
</table>
Maybe the line var dt=new Date(y,md[0]-1,md[1]-4,12);
deserves some explanation? I set the date to given year, month, date and hour values. The year is the current year, month and date values I take from the preceding column (note that JavaScript month numbering starts at 0) and I use an hour value of 12 in order to avoid any "daylight saving issues".