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

x/durationjs/src/duration.ts>Duration#asDays

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

Get duration as days.

Returns

number

Duration as days.