title: Create timer in Node js that reset after every 10 minute, and also return the current minutes when hit the api
body: <p>I want to create an API in Node js that return the time in minutes.
  When server start running, timer will also start. that timer will reset after every 10 minute. 
  When I hit the API then the current time of timer should return.
  Like the current time in timer is <strong>06:42</strong> (6 minutes and 42 seconds) it will be response of API.
  when timer reach to <strong>09:59</strong> then it reset to <strong>00:00</strong></p>
  
  <p>Please help me in this problem. 
  Thanks.</p>