Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function temporalUtil.timeZoneOffsetToIsoString
import { temporalUtil } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { timeZoneOffsetToIsoString } = 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.