import { subHours } from "https://deno.land/x/date_fns@v2.5.1/index.js";
Examples
// Subtract 2 hours from 11 July 2014 01:00:00:
var result = subHours(new Date(2014, 6, 11, 1, 0), 2)
//=> Thu Jul 10 2014 23:00:00
// Subtract 2 hours from 11 July 2014 01:00:00: var result = subHours(new Date(2014, 6, 11, 1, 0), 2) //=> Thu Jul 10 2014 23:00:00