tks

博客园 首页 联系 订阅 管理

2007年6月5日

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime();   1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 输出:2007-6-5 11:43:17  1.2 取当前年 int 年=currentTime.Year; 输出:2007  1.3 取当前月 int 月=curren... 阅读全文
posted @ 2007-06-05 11:15 特困生 阅读(296) 评论(1) 推荐(0)