Answers for "java calendar get date without time"

4

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);
Posted by: Guest on June-28-2020

Code answers related to "java calendar get date without time"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language