Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function durationToIsoString
import { durationToIsoString } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/temporal-util.ts";

Format given duration to an ISO 8601 string.

Parameters

months: NumberOrInteger | string

the number of months.

days: NumberOrInteger | string

the number of days.

seconds: NumberOrInteger | string

the number of seconds.

nanoseconds: NumberOrInteger | string

the number of nanoseconds.

Returns

string

ISO string that represents given duration.