Android examples for java.util:Millisecond
get Seconds From Milliseconds
//package com.java2s; public class Main { public static int getSecondsFromMilliseconds(long milliseconds) { long time = milliseconds / 1000; return (int) (time % 60); }/* w ww. jav a 2 s . c om*/ }