js how to get today year code example
Example: how to get current year in nodejs
const todaysDate = new Date()
const currentYear = todaysDate.getFullYear()
// 2020
const todaysDate = new Date()
const currentYear = todaysDate.getFullYear()
// 2020