Hi Guys, May be basic question , Is there any equi...
# multiplatform
m
Hi Guys, May be basic question , Is there any equivalent for
Copy code
System.currentTimeMillis()
in KMM ?
i
kotlinx-datetime
or write your own with
expect
actual
👍 1
m
Thanks did it using
expect
 
actual
i need it even for JVM as well so.
g
need it even for JVM as well so.
Kotlinx-datetime available for JVM too Though, noting wrong with simple expect/actual
i
What do you need this function for, by the way? Measuring time intervals or timestamping events?