C# 日期函数 string.Format
C#日期函数string.FormatDateTimedt=DateTime.Now;Label1.Text=dt.ToString();//2005-11-513:21:25Label2.Text=dt.ToFileTime().ToString();//127756416859912816Label3.Text=dt.ToFileTimeUtc().ToString();//127756704859912816Label4.Text=dt.ToLocalTime().ToString();//2005-11-521:21:25
下载地址
用户评论