Android Date Get getCurrentlyDate()

Here you can find the source of getCurrentlyDate()

Description

get Currently Date

Declaration

public static String getCurrentlyDate() 

Method Source Code

//package com.java2s;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    public static String getCurrentlyDate() {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
        return dateFormat.format(new Date());
    }/*  w  w  w .  ja  v  a 2  s.c  o m*/
}

Related

  1. getDate(int year, int month, int date, int hourOfDay, int minute, int second)
  2. getCurrentDateYearMonthDateHourMinuteSecond()
  3. createDate(final int month, final int day, final int year)
  4. getDate(int year, int month)
  5. getDateFromString(String dateString)
  6. getDate(int day, int month, int year)