Home / Javascript Tips Generated By ChatGPT / Getting the Current Year in Javascript Use getFullYear to get the current year. Source Code console.log(now.getFullYear());