Java Utililty Methods Millisecond to Second

List of utility methods to do Millisecond to Second

Description

The list of methods to do Millisecond to Second are organized into topic(s).

Method

intgetSecondFromMilliSecond(int milliSecond)
get Second From Milli Second
return (milliSecond) / (1000);
longgetSecondsFromMilliSecond(long ms)
get Seconds From Milli Second
long seconds = ms / 1000 * 1000;
return seconds;