Android Calendar Create getNowTime()

Here you can find the source of getNowTime()

Description

get Now Time

Declaration

public static long getNowTime() 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static long getNowTime() {
        return Calendar.getInstance().getTime().getTime();
    }/*from w  ww. j  a v  a  2 s  .co m*/
}

Related

  1. getCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute)
  2. getCurrentTime()
  3. getDateWithFormat(int year, int month, int day)
  4. getDateWithShortFormat(int year, int month, int day)
  5. getMilliSeconds(int year, int month, int day, int hour, int minute)
  6. GetLocalCalendar()
  7. getCalendar()
  8. getCalendar(int day, int month, int year)