0为星期天,1~6分别为星期一~星期六
new Date().getDay(); // 当前日期 new Date(日期).getDay(); // 任意日期 new Date("2019-11-23").getDay();