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.
Declaration
DayPilot.Date.weekNumberISO()Return Value
Returns the ISO 8601 week number as a number.
Example
const week = DayPilot.Date.today().weekNumberISO();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot