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

Examples

// The last day of an ISO week-numbering year for 2 July 2005: var result = lastDayOfISOWeekYear(new Date(2005, 6, 2)) //=> Sun Jan 01 2006 00:00:00

Parameters

dirtyDate
  • the original date