Android Time Get getTimeInMillis()

Here you can find the source of getTimeInMillis()

Description

Method returns the current time as [local timezone] milliseconds.

Return

long milliseconds

Declaration

public static long getTimeInMillis() 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    /**/*from   ww w  . j  av a 2 s.  c o m*/
     * Method returns the current time as [local timezone] milliseconds.
     * 
     * @return long milliseconds
     */
    public static long getTimeInMillis() {
        return Calendar.getInstance().getTimeInMillis();
    }
}

Related

  1. getDateTime()
  2. getLongTime()
  3. getRequestTime()
  4. getSystemTime()
  5. getTime1()
  6. getTimestamp()
  7. getUTCTime()
  8. getUnixTime()
  9. getUnixTime()