Android Time Get getCurrentlyDateTime()

Here you can find the source of getCurrentlyDateTime()

Description

get Currently Date Time

Declaration

public static String getCurrentlyDateTime() 

Method Source Code

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

public class Main {
    public static String getCurrentlyDateTime() {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
        return dateFormat.format(new Date());
    }/* ww w .j a  v  a 2s  .  c om*/
}

Related

  1. getCurrentTimeCalendar()
  2. getCurrentTimeStr()
  3. getCurrentTimeString()
  4. getTime()
  5. getTime()
  6. now()
  7. getTimeStamp()
  8. getTimeString(long time)
  9. getTimestamp()