Skip to main content
Module

x/durationjs/mod.ts>Duration#addMilliseconds

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

Add more milliseconds to the duration.

Parameters

n: number

Number of milliseconds to add.

Returns

The updated duration.