Skip to main content
Version: Java (Groovy)

millisToMicros

millisToMicros returns the equivalent number of microseconds from a given millisecond value.

Syntax

millisToMicros(millis)

Parameters

ParameterTypeDescription
millislong

The amount of milliseconds to convert to microseconds.

Returns

The number of microseconds equivalent to the specified milliseconds. Null input values will return NULL_LONG.

Examples

micros = millisToMicros(1641013200000)
println micros