# weekNumberCalculation

> FullCalendar v1 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v1/weekNumberCalculation
>
> Latest version (v7): https://fullcalendar.io/docs/weekNumberCalculation.md

The method for calculating week numbers that are displayed with the [weekNumbers](https://legacy.fullcalendar.io/v1/weekNumbers.md) setting.

<div class='spec' markdown='1'>
String/Function, *default*:`"iso"`
</div>

The default (`"iso"`) causes [ISO8601 week numbers](https://en.wikipedia.org/wiki/ISO_8601#Week_dates).

You may also specify a function, which accepts a single native Date object and returns an integer week number. Since FullCalendar currently lacks a built-in internationlization system, this is only way to implement localized week numbers.
