now

Deprecated (with error)

Use Clock.System.now() instead

Replace with

import kotlin.time.Clock
Clock.System.now()

Since Kotlin

2.1