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

Examples

// If today is 25 September 2014, is 22 September 2014 in this ISO week? var result = isThisISOWeek(new Date(2014, 8, 22)) //=> true

Parameters

dirtyDate
  • the date to check