Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/datetime/mod.ts>dayOfYear

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function dayOfYear
import { dayOfYear } from "https://deno.land/std@0.39.0/datetime/mod.ts";

Get number of the day in the year

Returns

number

Number of the day in year