Skip to main content
Go to Latest
function startOfISOWeekYear
import { startOfISOWeekYear } from "https://deno.land/x/date_fns@v2.6.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