Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/complaindate/utils/subtractTime.ts>subtractTime

JavaScript date-time utilities that keep timezones on the surface
Latest
function subtractTime
import { subtractTime } from "https://deno.land/x/complaindate@v1.0.1/utils/subtractTime.ts";

Get a function curried with a time duration to subtract from its native JS Date arguments.

Parameters

unnamed 0: { hours?: number | string; minutes?: number | string; seconds?: number | string; milliseconds?: number | string; }

Object of hours, minutes, seconds & milliseconds, where each may be negative