摘要:
1、DateTime 数字型 System.DateTime currentTime=new System.DateTime();1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int year=currentTime.Year; 1.3 取当前月 int month=currentTime.Month; 1.4 取当前日 int day=currentTime.Day; 1.5 取当前时 int hour=currentTime.Hour; 1.6 取当前分 int min=currentTime.Minute; 1.7 取当前 阅读全文