ASP.NET(C#)——日期函数

应用场景:

1.获取当天日期

DateTime.Now为DateTime格式。

DateTime.Now.ToString()转化为日期格式。

原文地址:https://www.cnblogs.com/bluewhy/p/5230422.html