Java Millisecond Current Get getCurrentMillis()

Here you can find the source of getCurrentMillis()

Description

Returns the current time in milliseconds.

License

Open Source License

Return

The difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.

Declaration

public static long getCurrentMillis() 

Method Source Code

//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();
    }
}

Related

  1. currentTimeMillis()
  2. currentTimeMillis()
  3. currentTimeMillis()
  4. currentTimeMillis()
  5. currentTimeMillisUTC()
  6. getCurrentMillisecond()
  7. getCurrentMillisecondString()
  8. getCurrentMillisecondZeroFillString()
  9. getCurrentTimeMillisStr()