use moment js for know dayof weekd code example
Example 1: moment get week day
// return a numeber
var day = moment().day();
Example 2: moment get weekday name
var m = moment().day(); // gives 4 for thursday, then you can do a switch
// return a numeber
var day = moment().day();
var m = moment().day(); // gives 4 for thursday, then you can do a switch