Week of Year (ISO)2.0.0+

  1. moment().isoWeek(Number);
  2. moment().isoWeek(); // Number
  3. moment().isoWeeks(Number);
  4. moment().isoWeeks(); // Number

Gets or sets the ISO week of the year.

When setting the week of the year, the day of the week is retained.