Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Very Popular
Go to Latest
function getDaysInMonth
import { getDaysInMonth } from "https://deno.land/x/date_fns@v2.11.1/index.js";

Examples

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

Parameters

dirtyDate
  • the given date