import { default } from "https://deno.land/x/date_fns@v2.22.0/monthsToYears/index.ts";
Examples
// Convert 36 months to years:
const result = monthsToYears(36)
//=> 3
// Convert 36 months to years: const result = monthsToYears(36) //=> 3
// It uses floor rounding: const result = monthsToYears(40) //=> 3