摘要:
(一)SimpleDateFormat formatter = new SimpleDateFormat ("yyyy年MM月dd日 HH:mm:ss"); Date curDate = new Date(System.currentTimeMillis()); String time = formatter.format(curDate); (二)final Calendar c = Calendar.getInstance();String time = c.get(Calendar.YEAR)+"年"+c.get(Calendar.MONTH)+& 阅读全文