inMilliseconds

fun inMilliseconds(): Long

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