import { default } from "https://deno.land/x/date_fns@v2.6.0/differenceInMinutes/index.js";
Examples
// How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00?
var result = differenceInMinutes(
new Date(2014, 6, 2, 12, 20, 0),
new Date(2014, 6, 2, 12, 7, 59)
)
//=> 12
// How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00? var result = differenceInMinutes( new Date(2014, 6, 2, 12, 20, 0), new Date(2014, 6, 2, 12, 7, 59) ) //=> 12