return current date in javascript
snippet in javascript

return current date in javascript

user2805

let today = new Date().toLocaleDateString()

console.log(today)

get today's date javascript

user7221

var today = new Date();