📅  最后修改于: 2022-03-11 14:52:45.863000             🧑  作者: Mango
Date currentDate = new Date();
SimpleDateFormat dateFormat= new SimpleDateFormat("dd/MMM/yyyy");
String dateOnly = dateFormat.format(currentDate);
dateTextView.setText(dateOnly);