import { getQuarter } from "https://deno.land/x/date_fns@v2.5.1/index.js";
Examples
// Which quarter is 2 July 2014?
var result = getQuarter(new Date(2014, 6, 2))
//=> 3
// Which quarter is 2 July 2014? var result = getQuarter(new Date(2014, 6, 2)) //=> 3