Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/datetime/mod.ts>weekOfYear

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

Get number of the week in the year (ISO-8601)

Returns

number

Number of the week in year