title: Start and end time on click event
body: <p>I want to implement a start and end time on click event .
  Time should be in the format
  00.00 until counter hits 1 hour. After 1 hour the counter should be
  00.00.00 format.</p>
  <pre><code>SetInterval(()=&gt;{
  Let timer = new Date().getTime()/1000;
  
  },1000)
  </code></pre>
  <p>I dont know how to get the time which starts at 00.00 and ends when the user clicks the event</p>