Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/complaindate/mod.ts>addTime

JavaScript date-time utilities that keeps timezones on the surface
Go to Latest
function addTime
import { addTime } from "https://deno.land/x/complaindate@v0.7.2/mod.ts";

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

Parameters

unnamed 0: { hour?: number | string; minute?: number | string; second?: number | string; millisecond?: number | string; }

Object of hour, minute, second & millisecond, where each may be negative