C# .NET 函数列表
<br />1、DateTime 数字型 <br />System.DateTime currentTime=new System.DateTime(); <br />1.1 取当前年月日时分秒 <br />currentTime=System.DateTime.Now; <br />1.2 取当前年 <br />int 年=currentTime.Year; <br />1.3 取当前月 <br />int 月=currentTime.Month; <br />1.4 取当前日 <br />int 日=c
复制链接