getDateTimeFromMillis

fun getDateTimeFromMillis(millis: Long, dateFormat: String): String

Method to get Date time from millis, You can use System.currentTimeMillis()

Return

String date time according to DateFormat

Parameters

dateFormat

date format like "HH:mm:ss" You can also use TimeConst class, which is also included in library