js将时间戳转换为几月几日星期几formatDate:function(date){varnow=newDate(date)varyear=now.getYear()varmonth=now.getMonth()+1vardate=now.getDate()va2023-04-17JavaScript200