ChronosChronos

getWeek

Returns the ISO 8601 week number of the year.

getWeek()

Returns the ISO 8601 week number of the year.

Signature

getWeek(): NumberRange<1, 53>

Return Type

NumberRange<1, 53> - ISO week number (1-53)

Example

playground.ts

Last updated: Thu, May 21, 2026 09:14:30AM (UTC)

On this page