Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/durationjs/src/duration.ts>default#toString

Get the formated time duration
Latest
method default.prototype.toString
import { default } from "https://deno.land/x/durationjs@v4.1.1/src/duration.ts";

Get a simple formatted duration in the form dd:hh:mm:ss:ms

Returns

string

Formatted string