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


inline fun Long.asEpochMillis(): Instant
Deprecated: These extensions are for java.* APIs and not android.* APIs and thus are out of scope for this project. Star for future support of extensions like these. These extensions will be removed before core-ktx 1.0!

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

See Also