dima.avdeev
3 months ago
10 changed files with 18 additions and 37 deletions
@ -1,3 +0,0 @@
|
||||
actual fun timestampMs(): Long { |
||||
return System.currentTimeMillis() |
||||
} |
@ -1,3 +0,0 @@
|
||||
actual fun timestampMs(): Long { |
||||
return System.currentTimeMillis() |
||||
} |
@ -1,6 +0,0 @@
|
||||
import platform.Foundation.NSDate |
||||
import platform.Foundation.timeIntervalSince1970 |
||||
|
||||
actual fun timestampMs(): Long { |
||||
return (NSDate().timeIntervalSince1970() * 1000).toLong() |
||||
} |
@ -1,5 +0,0 @@
|
||||
import kotlin.js.Date |
||||
|
||||
actual fun timestampMs(): Long { |
||||
return Date.now().toLong() |
||||
} |
Loading…
Reference in new issue