How to Display Current Date in format in android ?

Current Date In Fix Format  : -

Date c = Calendar.getInstance().getTime();
SimpleDateFormat df = new SimpleDateFormat("dd-MMM-yyyy");
String formattedDate = df.format(c);


Comments

Popular posts from this blog

DummyIdFor Admob Implementation

How to change searchview property to change searchview design