nanosOfMilli

nanosOfMilli returns the number of nanoseconds that have elapsed since the top of the millisecond for the specified date-time.

Syntax

Parameters

ParameterTypeDescription
instantInstant

The date-time from which to return the number of nanoseconds.

dateTimeZonedDateTime

The date-time from which to return the number of nanoseconds.

Returns

The specified date-time converted into nanoseconds. Null input values will return NULL_LONG.

Examples