import { default } from "https://deno.land/x/date_fns@v2.0.0-alpha.3/differenceInWeeks/index.js";
Examples
// How many full weeks are between 5 July 2014 and 20 July 2014?
var result = differenceInWeeks(
new Date(2014, 6, 20),
new Date(2014, 6, 5)
)
//=> 2
// How many full weeks are between 5 July 2014 and 20 July 2014? var result = differenceInWeeks( new Date(2014, 6, 20), new Date(2014, 6, 5) ) //=> 2