java set date no time info 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);