时间戳转换成xxxx-xx-xx格式 //先将时间戳转换成"Thu Feb 25 2021 11:08:51 GMT+0800 (中国标准时间)" var startdate = new Date(); var Y = startdate.getFullYear() + "-"; var M</