写出昨天的日期

DateTime.Now.AddDays(-1)

原文地址:https://www.cnblogs.com/lear/p/1785784.html