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

Get the total number of nanoseconds from the milliseconds of the given standard JavaScript date and optional nanosecond part.

Parameters

standardDate: Date

the standard JavaScript date.

optional
nanoseconds: NumberOrInteger

the optional number of nanoseconds.

Returns

NumberOrInteger

the total amount of nanoseconds.