ejs current year

JavaScript
<%= new Date().getFullYear();%>
Source

Also in JavaScript: