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.7.0/getISOWeeksInYear/index.js";

Examples

// How many weeks are in ISO week-numbering year 2015? var result = getISOWeeksInYear(new Date(2015, 1, 11)) //=> 53

Parameters

dirtyDate
  • the given date