Skip to main content
Latest
function internal.temporalUtil.durationToIsoString
import { internal } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/index.ts";
const { durationToIsoString } = internal.temporalUtil;

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.