Long as ymd
Sat, Jul 30, 2016I seconds from the time, minute, I tried to calculate the time in Kotlin.
fun longAsYmd(Long time): Unit {
val t = time.toInt()
val second = t % 60
val minutes = t / 60 % 60
val hour = t / 60 / 60
}
I seconds from the time, minute, I tried to calculate the time in Kotlin.
fun longAsYmd(Long time): Unit {
val t = time.toInt()
val second = t % 60
val minutes = t / 60 % 60
val hour = t / 60 / 60
}