secondsToMillis
secondsToMillis
returns the number of milliseconds equivalent to the specified seconds
value.
Syntax
secondsToMillis(seconds)
Parameters
Parameter | Type | Description |
---|---|---|
seconds | long | The amount of seconds to convert to milliseconds. |
Returns
The equivalent number of milliseconds to the specified seconds
value. Null input values will return NULL_LONG
.
Examples
seconds = 132
println secondsToMillis(seconds)
- Log