title: make a different countdown after actual countdown
body: <p>I need help with the next countdown. I need to reset the actual countdown with a new different date when the actual countdown finishes. All this in one simple counter. </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>$(function (){
  
  function countdown() {
  
  var now = new Date();
  var eventDate = new Date('Nov 03, 2017 13:02:20');
  var secondEventDate =  new Date('Nov 09, 2017 10:18:40');
  var currentTime = now.getTime();
  var evenTime = eventDate.getTime();
  
  if(eventDate&lt;=currentTime){
      document.getElementById("countdown").innerHTML = "expired";
      clearInterval(setTimeout);
  
  }
  
  var remTime = evenTime - currentTime;
  
  var sec = Math.floor(remTime / 1000);
  var min = Math.floor(sec / 60);
  var hur = Math.floor(min / 60);
  var day = Math.floor(hur / 24);
  
   hur %= 24;
   min %= 60;
   sec %= 60;
  
  hur = (hur &lt; 10) ? "0" + hur : hur;
  min = (min &lt; 10) ? "0" + min : min;
  sec = (sec &lt; 10) ? "0" + sec : sec;
  
  $('.seconds').text(sec);
  $('.minutes').text(min);
  $('.hours').text(hur);
  $('.days').text(day);
  
  setTimeout(countdown, 1000);
  }
  
  countdown();
  
  
  });</code></pre>
  </div>
  </div>
  </p>