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

Examples

// How many days are in February 2000? var result = getDaysInMonth(new Date(2000, 1)) //=> 29

Parameters

dirtyDate
  • the given date