toLongMilliseconds

Common
JVM
JS
Native
1.0
fun toLongMilliseconds(): Long
(source)
Deprecated: Use inWholeMilliseconds property instead.

Returns the value of this duration expressed as a Long number of milliseconds.

The value is coerced to the range of Long type, if it doesn't fit in that range, see the conversion Double.toLong for details.

The range of durations that can be expressed as a Long number of milliseconds is approximately ±292 million years.