Android Date Current Get getCurrentDateline()

Here you can find the source of getCurrentDateline()

Description

get Current Dateline

Declaration

public static String getCurrentDateline() 

Method Source Code

//package com.java2s;
import java.text.DateFormat;

import java.text.SimpleDateFormat;

public class Main {
    public static String getCurrentDateline() {
        DateFormat tempDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return tempDate.format(new java.util.Date());
    }/*from  w w w . j a  v a 2  s. co m*/
}

Related

  1. getCurrentDate()
  2. getCurrentDate()
  3. getCurrentDateStamp()
  4. getCurrentDate()
  5. getCurrentDate()
  6. getCurrentDate()
  7. getCurrentDate()
  8. getCurrentDateJSONString()