javascript return todays date code example
Example 1: return current date in javascript
let today = new Date().toLocaleDateString()
console.log(today)
Example 2: get today's date in js
var utc = new Date().toJSON().slice(0,10).replace(/-/g,'/');
document.write(utc);