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

x/date_fns/index.js>isThisMonth

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

Examples

// If today is 25 September 2014, is 15 September 2014 in this month? var result = isThisMonth(new Date(2014, 8, 15)) //=> true

Parameters

dirtyDate
  • the date to check