fun daysBetween(start: Date, endExclusive: Date): LongDays
Get the number of days between two dates.
(iosArm64, iosX64, jvm, macosX64)fun daysBetween(start: DateTime, endExclusive: DateTime): LongDays
Get the number whole days between two date-times, assuming they're in the same time zone.
(iosArm64, iosX64, jvm, macosX64)fun <T1, T2> daysBetween(start: TimePoint<T1>, endExclusive: TimePoint<T2>): LongDays
Get the number of 24-hour days between two time points.
(iosArm64, iosX64, jvm, macosX64)fun daysBetween(start: ZonedDateTime, endExclusive: ZonedDateTime): LongDays
Get the number of whole days between two zoned date-times, adjusting the time zone of endExclusive if necessary to match the starting date-time.