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

nanoseconds representing the given local time.