Kotlin Dapatkan waktu waktu satu menit mil
fun getTimeWithMilis(millis: Long): String {
val date = Date(millis)
val formatter = SimpleDateFormat("HH:mm")
formatter.timeZone = TimeZone.getTimeZone("UTC")
val formatted = formatter.format(date)
Log.d("Time : ",formatted)
return formatted.toString();
}
abdullah