Very Popular
Latest
function default
import { default } from "https://dotland.deno.dev/x/date_fns@v2.22.1/lastDayOfISOWeekYear/index.ts";

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: Date | number
  • the original date

Returns

the end of an ISO week-numbering year