JS日期格式的转换JS日期格式的转换var d = new Date()d.setTime(1330912983320)var year = d.getFullYear()var month = d.getMonth()+1var dat2023-03-15JavaScript510