moment js get days from date string code example
Example: moment get weekday name
var m = moment().day(); // gives 4 for thursday, then you can do a switch
var m = moment().day(); // gives 4 for thursday, then you can do a switch