get date from Date java 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);