import { setHours } from "https://deno.land/x/date_fns@v2.5.1/index.js";
Examples
// Set 4 hours to 1 September 2014 11:30:00:
var result = setHours(new Date(2014, 8, 1, 11, 30), 4)
//=> Mon Sep 01 2014 04:30:00
// Set 4 hours to 1 September 2014 11:30:00: var result = setHours(new Date(2014, 8, 1, 11, 30), 4) //=> Mon Sep 01 2014 04:30:00