Does the kotlin stdlib provide a way to get the cu...
# multiplatform
s
Does the kotlin stdlib provide a way to get the current timestamp, or am I imagining that that was added?
not stdlib but maybe a heavyhanded solution to what you want
b
Deffinitely not in stdlib (not at common level, at least)
y
It's amazing how 2 people halfway across the world have the same issue at the same time - regarding time 🙂 Ran into the same today . Got around it by having my common method rely on an input parameter. The calling code can supply that.
b
Easiest workaround is to just have an expect function that's wired to platform specific APIs
No need for a parameter
y
Oh yes ! That is so much better. Thanks :)