Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Duration

The duration object. Contains the duration in the units specified by the object.

interface Duration {
days?: number;
hours?: number;
minutes?: number;
months?: number;
seconds?: number;
weeks?: number;
years?: number;
}

§Properties

§
days?: number
[src]

The number of days in the duration

§
hours?: number
[src]

The number of hours in the duration

§
minutes?: number
[src]

The number of minutes in the duration

§
months?: number
[src]

The number of months in the duration

§
seconds?: number
[src]

The number of seconds in the duration

§
weeks?: number
[src]

The number of weeks in the duration

§
years?: number
[src]

The number of years in the duration