摘要:
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;1.5取当前时int时=currentTime.Hour;1.6取当前分int分=currentTime.Minute;1.7取当前秒int秒=currentTime.Second;1.8取当前毫秒int毫秒=cur 阅读全文
posted @ 2013-04-01 17:48
shether
阅读(172)
评论(0)
推荐(0)
摘要:
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;1.5取当前时int时=currentTime.Hour;1.6取当前分int分=currentTime.Minute;1.7取当前秒int秒=currentTime.Second;1.8取当前毫秒int毫秒=cur 阅读全文
posted @ 2013-04-01 17:45
shether
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号