Calendar c = Calendar.getInstance(); int year = c.get(Calendar.YEAR); int month = c.get(Calendar.MONTH); int day= c.get(Calendar.DAY);
这三行加在<% %>里面
调用时用<%= year %><%= month%><%= day%>
2022-09-26 19:56:40
Calendar c = Calendar.getInstance(); int year = c.get(Calendar.YEAR); int month = c.get(Calendar.MONTH); int day= c.get(Calendar.DAY);
这三行加在<% %>里面
调用时用<%= year %><%= month%><%= day%>