The weekNumber() method returns the week number using the US week numbering system, where week 1 is the week that contains January 1.
Declaration
DayPilot.Date.weekNumber()Return Value
Returns the week number as a number.
Example
const week = DayPilot.Date.today().weekNumber();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot