convertToTime

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