Generate date from week number in moment.js

Bartosz picture Bartosz · Sep 24, 2013 · Viewed 33.9k times · Source

As mentioned in the title, I have a week number and a year value. Is there a way of finding Monday of that week using moment.js? Was trying, but not succeeded

Answer

Bartosz picture Bartosz · Sep 24, 2013

Sorry found solution myself:

var test = moment().day("Monday").week(week number here);