import { isSameMonth } from "https://deno.land/x/date_fns@v2.0.0-alpha.34/index.js";
Examples
// Are 2 September 2014 and 25 September 2014 in the same month?
var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))
//=> true
// Are 2 September 2014 and 25 September 2014 in the same month? var result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) //=> true