摘要: 1、DateTime数字型 System.DateTimecurrentTime=newSystem.DateTime(); 1.1取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2取当前年 int年=currentTime.Year; 1.3取当前月 int月=currentTime.Month; 1.4取当前日 int日=currentTime.Day... 阅读全文