js Date object. Specifically, you can use the new Date().getFullYear() method to return the four-digit year in a YYYY format.
確定! 回上一頁