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

Formats given time zone offset in seconds to string representation like '±HH:MM', '±HH:MM:SS' or 'Z' for UTC.

Parameters

offsetSeconds: NumberOrInteger | string

the offset in seconds.

Returns

string

ISO string that represents given offset.