java格式化日期並返回String類型

String date = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
相關文章
相關標籤/搜索