getFormattedTime

fun getFormattedTime(format: String, millis: Int): String

Method to get String date from millis

Parameters

format

format of date i.e., like dd:mm:yyy..etc

millis

milliseconds