<% java.sql.Date dd=new java.sql.Date(System.currentTimeMillis());
System.out.println(dd);
java.util.Date timed=new java.util.Date();
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
String nowdate=sdf.format(new java.util.Date());
System.out.println("取得的日期是=="+nowdate);
%>