Skip to main content
Very Popular
Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.22.1/isSameISOWeekYear/index.ts";

Examples

// Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? var result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) //=> true

Parameters

dirtyDateLeft: Date | number
  • the first date to check
dirtyDateRight: Date | number
  • the second date to check

Returns

boolean

the dates are in the same ISO week-numbering year