Вот маленький сниппет:
currentTime = new Date();
      var currentDate = currentTime.getDate();
      var hours = currentTime.getHours();
      //alert(currentDate);
      if(hours >= 8){  // check: can you order today or is 't to late?
        minDateVariable =  1;
      }else{
        minDateVariable = 0;
      };  
      formattedTime = currentTime;
      currentDate = currentDate + minDateVariable;
      formattedTime.setDate(currentDate);
      alert(currentTime);
Прошу обратить ваше внимание на переменные 
formattedTime и 
currentTime. После измений значений в 
formattedTime, меняются значения и в 
currentTime. Как разорвать эту "связь" или это просто логическая ошибка?
Спасибо