millisToNanos
millisToNanos
returns the equivalent number of nanoseconds from a given millisecond value.
Syntax
millisToNanos(millis)
Parameters
Parameter | Type | Description |
---|---|---|
millis | long | The amount of milliseconds to convert to nanoseconds. |
Returns
The equivalent number of nanoseconds as the specified milliseconds. Null input values will return NULL_LONG
.
Examples
nanos = millisToNanos(1641013200000)
println nanos