title: Sum of Time using javascript
body: <p>How to of sum time  in javascript</p>
  
  <pre><code>01:00:00
  00:30:00
  00:30:00
  </code></pre>
  
  <p>I have time like above i want sum of given time  like</p>
  
  <pre><code>sum of above time= 02:00:00
  </code></pre>
  
  <p>if i use javascript method setHours(),setMinutes() these function replace old time and show newly added time like :</p>
  
  <pre><code>1. new Date( new Date(0, 0, 0, 00, 00, 00, 0)).setMinutes(30)
  2. new Date(new Date( new Date(0, 0, 0, 00, 00, 00, 0)).setMinutes(30)).setMinutes(30);
  </code></pre>
  
  <p>these above both condition result is same but i want here 00:30 + 00:30 = 01:00</p>
  
  <p>. Please help thanks in advance</p>