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

x/date_fns/index.js>isThisQuarter

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

Examples

// If today is 25 September 2014, is 2 July 2014 in this quarter? var result = isThisQuarter(new Date(2014, 6, 2)) //=> true

Parameters

dirtyDate
  • the date to check