论坛博客用户名: 密码: 验证码: var today = new Date(); var strDate =(today.getYear()+年 + (today.getMonth() + 1) + 月+today.getDate() + 日); var n_day = today.getDay(); switch(n_day)case 0: strDate = strDate + 星期日 break; case 1: strDate =strDate+ 星期一 break; case 2: strDate = strDate + 星期二 break;case 3:strDate = strDate + 星期三 break;