firefox与google浏览器天增加后超月末不一致问题

var t = new Date("2013/05/27");

var s =t.getTime()+7*24*3600*1000;

var k = new Date(s);

k1=k.getMonth()+1;

k2=k.getDate();

k1+"--"+k2;

你可能感兴趣的:(firefox与google浏览器天增加后超月末不一致问题)