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

Examples

// How many days are in 2012? var result = getDaysInYear(new Date(2012, 0, 1)) //=> 366

Parameters

dirtyDate
  • the given date