1、時間格式化1 //昨天的時間2 var day1 = new Date(); 3 day1.setTime(day1.getTime()-24*60*60*1000); 4 var s1 = day1.getFullYear()+"-" + (day1.
確定! 回上一頁