import { dayOfYear } from "https://deno.land/std@0.190.0/datetime/mod.ts";
Returns the number of the day in the year.
Examples
Example 1
Example 1
import { dayOfYear } from "https://deno.land/std@0.190.0/datetime/mod.ts";
dayOfYear(new Date("2019-03-11T03:24:00")); // output: 70
Parameters
date: Date