Jump to Categories

getDay



var d = new Date();
var c = new Date('1964-03-30T16:43:40.723Z');

console.log(d);

var days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
console.log(days[c.getDay()]);