how to get the name of the day in Date javascript code example
Example: get name of day javascript
var today = new Date();
console.log(today.getDay()); // sunday = 0, monday = 1, etc..
var today = new Date();
console.log(today.getDay()); // sunday = 0, monday = 1, etc..