Here you can find the source of getTodayFull()
public static final String getTodayFull()
//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*/ }