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