import { subWeeks } from "https://deno.land/x/date_fns@v2.0.0-alpha.34/index.js";
Examples
// Subtract 4 weeks from 1 September 2014:
var result = subWeeks(new Date(2014, 8, 1), 4)
//=> Mon Aug 04 2014 00:00:00
// Subtract 4 weeks from 1 September 2014: var result = subWeeks(new Date(2014, 8, 1), 4) //=> Mon Aug 04 2014 00:00:00