js如何获取选中时间并减去一个月var date = new Date()var nowD = date.getFullYear() + "." + (date.getMonth() + 1) + "." +date.getDate2023-04-18JavaScript280