title: How can I convert time into percent using moment
body: <p>I need to convert a complete hour by hour into %, but I am not sure if moment is able to do that.</p>
  
  <p>Eg.:
  I do have</p>
  
  <pre><code>let start = 08:00:00
  // until
  let end = 09:00:00
  </code></pre>
  
  <p>This is equal: 100%, but I receive an information from frontend value:</p>
  
  <pre><code>let data = 08:25:40
  </code></pre>
  
  <p>I need to know how much percent of hour have been passed from start, until the end.</p>
  
  <p>I do have an workaround, but this is a little bit like a trick not a real solution.</p>
  
  <p>Does anybody knows if JS has a library that can do this for me, easily?</p>
  
  <p>Thanks.</p>