core-ktx / androidx.time / kotlin.Long / asEpochSeconds

asEpochSeconds

inline fun Long.asEpochSeconds(): Instant

Return an Instant for the number of seconds after the epoch.

See Also

Instant.ofEpochSecond