Android Today Get getTodayFull()

Here you can find the source of getTodayFull()

Description

get Today Full

Declaration

public static final String getTodayFull() 

Method Source Code

//package com.java2s;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Main {
    public static final String getTodayFull() {
        Calendar cal = Calendar.getInstance();
        java.text.SimpleDateFormat sdf = new SimpleDateFormat(
                "yyyy-MM-dd 00:00:00");
        String cdate = sdf.format(cal.getTime());
        //Log.d(TAG, "getTodayFull:"+cdate);
        return cdate;
    }/*  ww  w. j av a2 s. c om*/
}

Related

  1. getToday()
  2. getLastyearToday(String str)
  3. isToday(Calendar today, Calendar date)
  4. isToday(Calendar date)
  5. getNbDaysToDate(Calendar from, int toYear, int toMonth, int toDay)
  6. isToday(long time)