title: How should I update a time? new Date or setInverval?
body: <p>I am updating a clock once every second, the time comes from a <code>new Date</code> object, but I am wondering if it is better to simply add upon an initial time with <code>setInterval</code> or to create a <code>new Date</code> every second and work with that object to update the time.</p>
  
  <p>They both work, but I am wondering if it is responsible to be creating a new object every second, since I am sure the <code>setInterval()</code> method would use a considerably smaller amount of resources since three functions are executed when getting time. (<code>.getHours()</code>, <code>.getMinutes()</code>, <code>.getSeconds()</code>)</p>
  
  <p>I can see an advantage in having it use a <code>new Date</code> object, as I assume it would change when the systems time changes (changing timezone or daylight savings adjustments).</p>
  
  <p>So is it more efficient to use <code>setInverval()</code> or would it use just as many resources as creating a <code>new Date</code> object each time?</p>