Skip to main content
Module

std/datetime/mod.ts>dayOfYear

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

Get number of the day in the year

Parameters

date: Date

Returns

number

Number of the day in year