How do I get the current weeknumber of the year, like PHP\'s date(\'W\')?
date(\'W\')
It should be the ISO-8601 week number of year, weeks starting
You can use momentjs library also:
moment().format('W')