get minute from milliseconds programmatically
snippet in kotlin

get minute from milliseconds programmatically

user5090


val minute = (mil / 1000) / 60
val seconds = (mil / 1000) % 60