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

Examples

// Which week of the month is 9 November 2017? var result = getWeekOfMonth(new Date(2017, 10, 9)) //=> 2

Parameters

dirtyDate
  • the given date
dirtyOptions