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