Skip to main content
Module

x/durationjs/mod.ts>default#addHours

Get the formated time duration
Go to Latest
method default.prototype.addHours
import { default } from "https://deno.land/x/durationjs@v4.0.1/mod.ts";

Add more hours to the duration.

Parameters

n: number

Number of hours to add.

Returns

The updated duration.