Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
function startOfISOWeekYear
import { startOfISOWeekYear } from "https://deno.land/x/date_fns@v2.7.0/index.js";

Examples

// The start of an ISO week-numbering year for 2 July 2005: var result = startOfISOWeekYear(new Date(2005, 6, 2)) //=> Mon Jan 03 2005 00:00:00

Parameters

dirtyDate
  • the original date