📌  相关文章
📜  javascript 添加分钟到日期 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:57.491000             🧑  作者: Mango

代码示例1
//add 30 minutes to date
var minutesToAdd=30;
var currentDate = new Date();
var futureDate = new Date(currentDate.getTime() + minutesToAdd*60000);