I need to know `elapsedNow()` from a time point th...
# announcements
d
I need to know
elapsedNow()
from a time point that I receive from an api...
m
How about just using regular
Instant
class from Java time API? That should work.
Kotlin time support is still experimental, and from what I can see there's no easy way of calculating a duration from an arbitrary timestamp =(
d
Yup, that's what it seems like... wonder why they left this out? People using multiplatform could get stuck with this... also testing seems to be easier since there's
TestClock
for that...