求本月的第一天星期几? 中心思想,设置日期为每月的第一天 var oDate=new Date(); oDate.setDate(1); alert(oDate.getDay()); 如果问题,欢迎大家及时指点,一同交流,共同提高