ChronosChronos

setWeek

Sets the date to the Monday of the specified ISO week number within the current year.

setWeek()

Sets the date to the Monday of the specified ISO week number within the current year.

Signature

setWeek(week: NumberRange<1, 53>): Chronos

Parameters

  • week: Week number to set (from 1-53)

Return Type

Chronos - Instance at start of week

Example

playground.ts

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

On this page