title: restart countdown timer to every next friday
body: <p>I need to restart my countdown timer every next friday, i cant seem to get it done. this is my code
   this is my fiddle</p>
  
  <p><a href="https://jsfiddle.net/9L7f5s6u/" rel="nofollow noreferrer">https://jsfiddle.net/9L7f5s6u/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var countDownDate = new Date("Mar 10, 2017 17:00:00").getTime();
  
  var x = setInterval(function() {
  
  var now = new Date().getTime();
  
  var distance = countDownDate - now;
  
  var days = Math.floor(distance / (1000 * 60 * 60 * 24)).toString();
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 *      60)).toString();
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)).toString();
  var seconds = Math.floor((distance % (1000 * 60)) / 1000).toString();
  
  document.getElementById("circle-days").innerHTML = days + "&lt;div class='timer-font'&gt;Días&lt;/div&gt;";
  document.getElementById("circle-hours").innerHTML = hours + "&lt;div class='timer-font'&gt;Hrs&lt;/div&gt;";
  document.getElementById("circle-minutes").innerHTML = minutes + "&lt;div class='timer-font'&gt;Min&lt;/div&gt;";
  document.getElementById("circle-seconds").innerHTML = seconds + "&lt;div class='timer-font'&gt;Seg&lt;/div&gt;";
  
    if (distance &lt; 0) {
      clearInterval(x);
      document.getElementById("timer").innerHTML = "EXPIRED";
    }
  }, 1000);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span style="margin-right: 10px;"&gt;
        &lt;span id="circle-days" class="circle-time"&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span style="margin-right: 10px;"&gt;
        &lt;span id="circle-hours" class="circle-time"&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span style="margin-right: 10px;"&gt;
        &lt;span id="circle-minutes" class="circle-time"&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span id="circle-seconds" class="circle-time"&gt;&lt;/span&gt;
    &lt;span id="timer"&gt;&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>