您现在的位置是:首页 > 电脑技术查询 > web开发

javascript date問題,该如何处理

编辑:chaxungu时间:2022-10-02 23:18:52分类:web开发

javascript date問題
dDate = new Date(selYear.value, selMonth.selectedIndex, 1);
前面是年月對應的select的
1代表什麼

------解决方案--------------------
Date(year,month,day);
年月日啊