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

x/date_fns/index.js>getDate

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

Examples

// Which day of the month is 29 February 2012? var result = getDate(new Date(2012, 1, 29)) //=> 29

Parameters

dirtyDate
  • the given date