title: How to get different time difference using moment?
body: <p>I need to get the duration between two dates in <code>hh:mm:ss</code> format using moment. but i am not able to get the exact difference.  Here is my example.</p>
  
  <pre><code>let start = moment("2018-07-27T14:56:33.763Z");
  let end = moment("2018-07-28T14:56:33.763Z");
  let diff = end.diff(start);
  
  let f = moment.utc(diff).format("HH:mm:ss");
  alert(f);
  </code></pre>
  
  <p>For the above dates i need to get the output as <code>24:00:00</code>, because it's one day difference. But i am getting <code>00:00:00</code> as response.</p>
  
  <p>If i am changing the hrs it should display based on that. how can i achieve this? can someone help me to fix this.</p>