temporal-fns
API reference

startOfISOWeek

API index · Input types and conventions · Installation

startOfISOWeek(value) → same kind

Find Monday at the start of the containing ISO week. This function has no options; use startOfWeek for another weekday.

import { startOfISOWeek } from '@frantss/temporal-fns';

startOfISOWeek(Temporal.PlainDate.from('2026-10-25')).toString(); // => '2026-10-19'
startOfISOWeek(Temporal.PlainDate.from('2026-01-01')).toString(); // => '2025-12-29'
startOfISOWeek(Temporal.PlainDateTime.from('2026-10-23T14:30')).hour; // => 0

Related: endOfISOWeek, startOfWeek, isSameISOWeek.

Behaviors: BND-001: Plain date boundaries return complete dates; BND-002: Plain date-time boundaries retain nanosecond endpoint precision; BND-015: Every zoned boundary returns the local period boundary in the original zone.