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