We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731aa98 commit d526b92Copy full SHA for d526b92
src/commonJvmLikeMain/kotlin/com/adamratzman/spotify/utils/DateTimeUtils.kt
@@ -1,12 +1,11 @@
1
package com.adamratzman.spotify.utils
2
3
-import kotlinx.datetime.Clock
4
import kotlinx.datetime.Instant
5
6
/**
7
* The current time in milliseconds since UNIX epoch.
8
*/
9
-actual fun getCurrentTimeMs(): Long = Clock.System.now().toEpochMilliseconds()
+actual fun getCurrentTimeMs(): Long = System.currentTimeMillis()
10
11
12
* Format date to ISO 8601 format
0 commit comments