The weekNumberISO() method returns the week number using the European week numbering system defined by ISO 8601, where week 1 is the first week of the year that includes Thursday.
DayPilot.Date.weekNumberISO()Returns the ISO 8601 week number as a number.
const week = DayPilot.Date.today().weekNumberISO();