public static String currentDate(){
  DateFormat DATE_FORMAT=new SimpleDateFormat("dd/MM/yyyy");
  Calendar cal=Calendar.getInstance();
  return DATE_FORMAT.format(cal.getTime());
}

public static String currentDate ( ) { DateFormat DATE_FORMAT = new SimpleDateFormat ( "dd/MM/yyyy" ) ; Calendar cal = Calendar . getInstance ( ) ; return DATE_FORMAT . format ( cal . getTime ( ) ) ; }
returns a string in the simple date format
