getTimeFromMillis

fun getTimeFromMillis(date_time_millisecond: String, dateFormat: String): String

method to get date and time

Return

String date or time or date,time according to dateFormat

Parameters

date_time_millisecond

prove date and time millis

dateFormat

dateFormat String like "HH:mm:ss","yyyy-MM-dd HH:mm:ss"...etc