Here you can find the source of milliToSeconds(long millis)
public static long milliToSeconds(long millis)
//package com.java2s; //License from project: Apache License public class Main { public static long milliToSeconds(long millis) { return millis / 1000; }/* w w w. j a v a 2 s . c o m*/ }