Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
function getISOWeeksInYear
import { getISOWeeksInYear } from "https://deno.land/x/date_fns@v2.0.0-alpha.35/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