PlatformHelper

object PlatformHelper

Functions

dateFormat
Link copied to clipboard
js
fun dateFormat(time: Int, format: String): String

Format timestamp js

fun dateFormat(time: Long, format: String): String

Format timestamp android

ios
fun dateFormat(time: Long, format: String): String

Format timestamp iOS

toTimestamp
Link copied to clipboard
js
fun toTimestamp(time: String): Int

Get timestamp for string