java格式化日期并返回String类型

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