JS 获得100天后的日期
参考:https://blog.csdn.net/weixin_45030716/article/details/106504349
var date=new Date();
date.setDate(date.getDate()+100);
console.log('100天后的日期为:',date.toLocaleString());
参考:https://blog.csdn.net/weixin_45030716/article/details/106504349
var date=new Date();
date.setDate(date.getDate()+100);
console.log('100天后的日期为:',date.toLocaleString());