import { default } from "https://deno.land/x/date_fns@v2.0.0-alpha.6/differenceInQuarters/index.js";
Examples
// How many full quarters are between 31 December 2013 and 2 July 2014?
var result = differenceInQuarters(
new Date(2014, 6, 2),
new Date(2013, 11, 31)
)
//=> 2
// How many full quarters are between 31 December 2013 and 2 July 2014? var result = differenceInQuarters( new Date(2014, 6, 2), new Date(2013, 11, 31) ) //=> 2