java 8 print without time date code example
Example: java get current date without time
Date currentDate = new Date();
SimpleDateFormat dateFormat= new SimpleDateFormat("dd/MMM/yyyy");
String dateOnly = dateFormat.format(currentDate);
dateTextView.setText(dateOnly);