Use .getMinutes() to get the current minutes, then add 20 and use .setMinutes() to update the date object.
.getMinutes()
.setMinutes()
var twentyMinutesLater = new Date(); twentyMinutesLater.setMinutes(twentyMinutesLater.getMinutes() + 20);
1.4m articles
1.4m replys
5 comments
57.0k users