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

x/date_fns/index.js>getISODay

date-fns Deno package
Very Popular
Go to Latest
function getISODay
import { getISODay } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";

Examples

// Which day of the ISO week is 26 February 2012? var result = getISODay(new Date(2012, 1, 26)) //=> 7

Parameters

dirtyDate
  • the given date