Calendarc=Calendar.getInstance();intyear=c.get(Calendar.YEAR);Objectmonth=c.get(Calendar.MONTH);intday=c.get(Calendar.DAY_OF_MONTH);inthour=c.get(Calendar.HOUR_OF_DAY);intminute=c.get(Calendar.MINUTE);Log.e("time_now",""+year+"_"+m