MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / addMinutes

Function addMinutes

packages/@stdlib/misc/src/datetime.ts:9–11  ·  view source on GitHub ↗
(date: Date, minutes: number)

Source from the content-addressed store, hash-verified

7}
8
9export function addMinutes(date: Date, minutes: number): Date {
10 return addSeconds(date, minutes * 60);
11}
12
13export function addHours(date: Date, hours: number): Date {
14 return addMinutes(date, hours * 60);

Callers 2

addHoursFunction · 0.85

Calls 1

addSecondsFunction · 0.85

Tested by

no test coverage detected