Here you can find the source of getMilliSecondBetween(long start, long end)
public static long getMilliSecondBetween(long start, long end)
//package com.java2s; public class Main { public static long getMilliSecondBetween(long start, long end) { return (end - start) / (1000 * 1000); }//from w w w. j av a 2s . c o m }