Module

std/datetime/mod.ts>dayOfYear

Deno standard library
Go to Latest
function dayOfYear
import { dayOfYear } from "https://dotland.deno.dev/std@0.131.0/datetime/mod.ts";

Get number of the day in the year

Parameters

date: Date

Returns

number

Number of the day in year