how to get first day of week in moment js code example Example: moment get week day // return a numeber var day = moment().day();