import { isSameDay } from "https://deno.land/x/date_fns@v2.0.0-alpha.35/index.js";
Examples
// Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?
var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))
//=> true
// Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) //=> true