Android Date Current Get getCurrentDate()

Here you can find the source of getCurrentDate()

Description

get Current Date

Declaration

public static Date getCurrentDate() 

Method Source Code

//package com.java2s;

import java.util.Calendar;
import java.util.Date;

public class Main {
    public static Date getCurrentDate() {
        Calendar c = Calendar.getInstance();

        Date date = c.getTime();/*w ww  .j ava  2s .  c om*/

        return date;
    }
}

Related

  1. getCurrentDate()
  2. getCurrentDateStamp()
  3. getCurrentDate()
  4. getCurrentDate()