Here you can find the source of getCurrentMillis()
public static long getCurrentMillis()
//package com.java2s; public class Main { /**// www .j a v a 2 s .com * Returns the current time in milliseconds. * @return The difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. */ public static long getCurrentMillis() { return System.currentTimeMillis(); } }