title: substract 5 minute from current Date and time javascript
body: <p>I have problem while substracting time from current date. My Code looks like:</p>
  
  <pre><code>var d = new Date(),
  year = d.getUTCFullYear(),
  month = ('0'+(d.getUTCMonth()+1)).slice(-2),
  day = ('0'+d.getUTCDate()).slice(-2),
  hour = ('0'+d.getUTCHours()).slice(-2),
  minute = ('0'+d.getUTCMinutes()).slice(-2),
  second = ('0'+d.getUTCSeconds()).slice(-2);
  
  var startDate = year+'/'+month+'/'+day+'-'+hour+':'+minute+':'+second;
  console.log(startDate);
  </code></pre>