elapsedDays

fun Instant.elapsedDays(other: Instant = Clock.System.now()): Double

Calculates the elapsed days between two Instants.

Return

The number of whole days elapsed between the two Instants as a Double.

Parameters

other

The other Instant to compare with. Defaults to the current system time if not provided.