javascript add minutes to date

JavaScript
//add 30 minutes to date
var minutesToAdd=30;
var currentDate = new Date();
var futureDate = new Date(currentDate.getTime() + minutesToAdd*60000);

Source

Also in JavaScript: