moment-weekofmonth
Gets the week of the month.
Use the moment object to find the week number of the month.
Installation
Install via NPM:
npm install moment moment-weekofmonth
Usage
Javascript
var moment = ;var wom = ;var nowDate = ; // 2020-02-29 ; // 1; // 5; // TypeError: Cannot read property 'week' of undefined
TypeScript
;; ; // 2020-02-29 wommoment'2020-01-01'; // 1womnowDate; // 5wom; // TypeError: Cannot read property 'week' of undefined```