inSeconds

fun inSeconds(): Long

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