📜  java 获取 cnnect 日期时间 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:41.505000             🧑  作者: Mango

代码示例1
Date currentDate = new Date();
  SimpleDateFormat dateFormat= new SimpleDateFormat("dd/MMM/yyyy");
  String dateOnly = dateFormat.format(currentDate);
  dateTextView.setText(dateOnly);