Calculates the ISO week number for a given date.
The date object to calculate the week number from.
ISO week number (1–53).
getWeekNumber(new Date(2025, 6, 23)); // e.g., 30 Copy
getWeekNumber(new Date(2025, 6, 23)); // e.g., 30
Calculates the ISO week number for a given date.