Answers for "get todays year js"

17

return current date in javascript

let today = new Date().toLocaleDateString()

console.log(today)
Posted by: Guest on March-01-2020
0

get todays year js

new Date().getFullYear()
Posted by: Guest on April-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language