DayPilot.Date.weekNumberISO

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

DayPilot.Date Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript