This is because months range from 0 to 11, so it is often desirable to add +1 to the index. Get the current day#. var day = (new Date()).getDate(); console.log( ...
確定! 回上一頁