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

Examples

// Which day of the year is 2 July 2014? var result = getDayOfYear(new Date(2014, 6, 2)) //=> 183

Parameters

dirtyDate
  • the given date