The weekNumber() method returns the week number using the US week numbering system, where week 1 is the week that contains January 1.
DayPilot.Date.weekNumber()
Returns the week number as a number.
const week = DayPilot.Date.today().weekNumber();
DayPilot.Date Class
Availability of this API item in DayPilot editions: