Date @ MDN. ... Date.now() // 回傳當前的timestamp(毫秒) ... 是秒數,但在JavaScript 中要帶入的是毫秒,所以要 new Date(timestamp * 1000) :.
確定! 回上一頁