在JSP頁面中怎麼寫日期處理:
<%=new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(a.getPdate()) %>
在Java代碼中怎樣寫日期處理: