title: Warp.js help Javascript Change Time Speed
body: <p>I'm working on a project where it is important that I can manipulate time speed. This JS module:</p>
  
  <p><a href="https://github.com/mattbradley/warpjs/blob/master/README.md" rel="nofollow noreferrer">https://github.com/mattbradley/warpjs/blob/master/README.md</a></p>
  
  <p>seems to be exactly what I need, but I don't think I'm trying to use it right. I can't get the .speed([]); to change the time rate. Here is my example:</p>
  
  <pre><code>    &lt;html&gt;
          &lt;head&gt;
          &lt;/head&gt;
  
      &lt;body&gt;
          &lt;script src="jquery.min.js"&gt;&lt;/script&gt;
          &lt;script src="warp.js"&gt;&lt;/script&gt;
  
  
          &lt;div id="container"&gt;&lt;/div&gt;
          &lt;span id="info"&gt;&lt;/span&gt;&lt;br&gt;
          &lt;span id="time"&gt;&lt;/span&gt;
          &lt;span id="time2"&gt;&lt;/span&gt;
  
          &lt;script&gt;
  
  
        setInterval(function() {
          var now = new Date;
          now = Date.warp.clock(true);
          //now = Date.warp.speed([1]); // DOESNT WORK?
  
          var dateD = [now.getMonth() + 1,now.getDate(),now.getFullYear()];
          var dateE = [now.getHours(),now.getMinutes(),now.getSeconds()];
          var MDY = dateD.join("/");
          var HMS = dateE.join(":");
          time.innerHTML = (MDY);
          time2.innerHTML = (HMS);
  
        }, 20);
  
  
          &lt;/script&gt;
  
      &lt;/body&gt;
  
      &lt;/html&gt;
  </code></pre>