Javascript 中的 Date.getMonth() 返回值是 0 -11 Date.getDay() 的返回值为 0-6。其中周日是0。 转载于:https://www.cnblogs.com/backpacker/archive/2012/07/26/2610892.html