I am currently looking to calculate a custom date in JavaScript and my head is beginning to hurt thinking about it. I have a countdown clock that is to start every other Tuesda
Have a look at the date.js library. It has several date parsing helpers including Date.today().next().tuesday() (among others).
Date.today().next().tuesday()