javascript get day of week name code example
Example 1: get name of day javascript
var today = new Date();
console.log(today.getDay()); // sunday = 0, monday = 1, etc..
Example 2: javascript get day
var d = new Date();
var n = d.getDay();
var today = new Date();
console.log(today.getDay()); // sunday = 0, monday = 1, etc..
var d = new Date();
var n = d.getDay();