Java System get current time stamp in millisecond long value
public class Main { public static void main(String[] argv) { System.out.println(getCurrentTimeStamp()); }/* ww w.j a va2 s . co m*/ public static long getCurrentTimeStamp() { return System.currentTimeMillis(); } }