<!-- start页面显示时间 -->
<%
Date date=new Date();
SimpleDateFormat df=new SimpleDateFormat("yyyy"+"年"+"MM月dd日");
String nowdate = df.format(date);
Calendar cal = Calendar.getInstance();
int week_day = cal.get(Calendar.DAY_OF_WEEK)-1;
String week_day1 = "";
if (week_day == 1)
week_day1 = "一";
if (week_day == 2)
week_day1 = "二";
if (week_day == 3)
week_day1 = "三";
if (week_day == 4)
week_day1 = "四";
if (week_day == 5)
week_day1 = "五";
if (week_day == 6)
week_day1 = "六";
if (week_day == 7)
week_day1 = "日";
%>
<!-- end页面显示时间 -->
posted on 2008-06-17 09:26
Hank1026 阅读(355)
评论(0) 编辑 收藏 所属分类:
每日积累