1//add 30 minutes to date
2var minutesToAdd=30;
3var currentDate = new Date();
4var futureDate = new Date(currentDate.getTime() + minutesToAdd*60000);
5
1var istdate = new Date(new Date().getTime() + (5*60+30)*60000);
2var [date,restdata] =istdate.toISOString().split("T");
3var time = restdata.split(".")[0];
4console.log("Date is:",date);
5console.log("Time is:",time);