Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function temporalUtil.localTimeToNanoOfDay
import { temporalUtil } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { localTimeToNanoOfDay } = temporalUtil;

Converts given local time into a single integer representing this same time in nanoseconds of the day.

Parameters

hour: NumberOrInteger | string

the hour of the local time to convert.

minute: NumberOrInteger | string

the minute of the local time to convert.

second: NumberOrInteger | string

the second of the local time to convert.

nanosecond: NumberOrInteger | string

the nanosecond of the local time to convert.

Returns

Integer

nanoseconds representing the given local time.