title: Determine start and end time of current day (UTC) (JAVASCRIPT)
body: <p>I am trying to determine start and end time of the current day in UTC. </p>
  
  <p>Currently this is my solution. `</p>
  
  <pre><code>var starttime = date.getTime() -(date.getHours() * 3600000 ); //subtracting a hours to go back to start time of the day.
  var endtime = low + 86400000; //adding 24 hours to the start time 
     `
  </code></pre>
  
  <p>Any help is appreciated ! Thank you</p>