Skip to main content
Module

std/datetime/mod.ts>weekOfYear

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

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

Parameters

date: Date

Returns

number

Number of the week in year