import { weekOfYear } from "https://deno.land/std@0.190.0/datetime/mod.ts";
Returns the ISO week number of the provided date (1-53).
Examples
Example 1
Example 1
import { weekOfYear } from "https://deno.land/std@0.190.0/datetime/week_of_year.ts";
weekOfYear(new Date("2020-12-28T03:24:00")); // Returns 53
Parameters
date: Date