SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); out.println(format.format(new Date()));
显示格式为:2012-10-15 15:06:19
posted on 2012-10-15 15:13 juan1206 阅读(137) 评论(0) 编辑 收藏 举报