moment get week by weeknumber code example Example: moment get iso week number const weekNumber = moment().format("w");