javascript獲取日期和星期
來源:懂視網
責編:小采
時間:2020-11-27 20:31:38
javascript獲取日期和星期
javascript獲取日期和星期: TT function syncTime(){ var mydate = new Date(); var week; switch (mydate.getDay()){ case 1: week=星期一; break; case 2: week=星期二; break; case 3: week=星期三; break; ca
導讀javascript獲取日期和星期: TT function syncTime(){ var mydate = new Date(); var week; switch (mydate.getDay()){ case 1: week=星期一; break; case 2: week=星期二; break; case 3: week=星期三; break; ca
TT
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
javascript獲取日期和星期
javascript獲取日期和星期: TT function syncTime(){ var mydate = new Date(); var week; switch (mydate.getDay()){ case 1: week=星期一; break; case 2: week=星期二; break; case 3: week=星期三; break; ca