摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int strYear=currentTime.Year; 1.3 取当前月 int strMonth = currentTime.Month... 阅读全文
posted @ 2007-01-20 20:04 juhnpen 阅读(249) 评论(0) 推荐(0)