System.DateTime.Today.ToString("yyyy-MM-dd")
这样才能使不同系统的日期格式相同。
转载于:https://www.cnblogs.com/mymeng_feng/p/5177865.html