随笔-51  评论-14  文章-0  trackbacks-0
  <!-- 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)  编辑  收藏 所属分类: 每日积累

只有注册用户登录后才能发表评论。


网站导航: