Skip to main content
Version: Java (Groovy)

secondsToMicros

secondsToMicros returns the number of microseconds equivalent to the specified seconds value.

Syntax

secondsToMicros(seconds)

Parameters

ParameterTypeDescription
secondslong

The amount of seconds to convert to microseconds.

Returns

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

Examples

seconds = 132

println secondsToMicros(seconds)