convertToTime

fun Long.convertToTime(pattern: String = "yyyyMMdd HH:mm:ss"): String

Convert the Long to Time

Parameters

pattern

The pattern to be used to convert the Long to Time