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